This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notice (8): Use of undefined constant FILEINFO_MIME_TYPE - assumed 'FILEINFO_MIME_TYPE' [APP/Plugin/Upload/Model/Behavior/UploadBehavior.php, line 1197] | |
Code Context | |
$finfo = new finfo(FILEINFO_MIME); | |
} else { | |
$finfo = new finfo(FILEINFO_MIME_TYPE); | |
$filePath = "/home/...../app/../public_html/files/picture/image/7/Restauro154.jpg" | |
UploadBehavior::_getMimeType() - APP/Plugin/Upload/Model/Behavior/UploadBehavior.php, line 1197 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('AppModel', 'Model'); | |
/** | |
* Picture Model | |
* | |
* @property Gallery $Gallery | |
* @property Job $Job | |
*/ | |
class Picture extends AppModel { | |
public $actsAs = array( |