image paths
This commit is contained in:
@@ -56,7 +56,7 @@ class WrenchMedia extends BaseController
|
|||||||
$supportedSections = ['profile'=>100,'myfile'=>200,'contracts'=>300,'family'=>400,'jobs'=>500];
|
$supportedSections = ['profile'=>100,'myfile'=>200,'contracts'=>300,'family'=>400,'jobs'=>500];
|
||||||
if (!array_key_exists($fileSection, $supportedSections)) {
|
if (!array_key_exists($fileSection, $supportedSections)) {
|
||||||
log_message('critical', "Media gate Path GATE 003 - Fail Segment Types");
|
log_message('critical', "Media gate Path GATE 003 - Fail Segment Types");
|
||||||
$file = 'error.png';
|
$file = FCPATH.'/assets/images/error.png';
|
||||||
header('Content-Type: image/png');
|
header('Content-Type: image/png');
|
||||||
readfile($file);
|
readfile($file);
|
||||||
exit();
|
exit();
|
||||||
@@ -84,7 +84,7 @@ class WrenchMedia extends BaseController
|
|||||||
|
|
||||||
log_message('critical', "Media gate Path GATE 005 - Ready to File File ****");
|
log_message('critical', "Media gate Path GATE 005 - Ready to File File ****");
|
||||||
|
|
||||||
$file = 'books.png';
|
$file = FCPATH.'/assets/images/books.png';
|
||||||
// header('Content-Type: image/jpeg');
|
// header('Content-Type: image/jpeg');
|
||||||
header('Content-Type: image/png');
|
header('Content-Type: image/png');
|
||||||
readfile($file);
|
readfile($file);
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 142 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user