diff --git a/www-api/app/Controllers/WrenchMedia.php b/www-api/app/Controllers/WrenchMedia.php index 108cf569..d70fcabb 100644 --- a/www-api/app/Controllers/WrenchMedia.php +++ b/www-api/app/Controllers/WrenchMedia.php @@ -56,7 +56,7 @@ class WrenchMedia extends BaseController $supportedSections = ['profile'=>100,'myfile'=>200,'contracts'=>300,'family'=>400,'jobs'=>500]; if (!array_key_exists($fileSection, $supportedSections)) { 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'); readfile($file); exit(); @@ -84,7 +84,7 @@ class WrenchMedia extends BaseController 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/png'); readfile($file); diff --git a/www-api/public/assets/images/books.png b/www-api/public/assets/images/books.png new file mode 100644 index 00000000..21f00666 Binary files /dev/null and b/www-api/public/assets/images/books.png differ diff --git a/www-api/public/assets/images/error.png b/www-api/public/assets/images/error.png new file mode 100644 index 00000000..7c2563e1 Binary files /dev/null and b/www-api/public/assets/images/error.png differ