In the print field of {code...}, the value of uploadJson is empty. If you change the uploadJson name, no problem.
private function defaults(){ return array( 'allowFileManager' => true, 'allowMediaUpload' => true, 'allowFlashUpload' => true, 'allowImageUpload' => true, 'shadowMode' => false, 'width' => '100%', 'height' => '350px', 'uploadJson' => 'test', );}print_r($this->defaults());exit;
At the print end, the value of uploadJson is empty. If you change the uploadJson name, it will be okay.
Reply content:
private function defaults(){ return array( 'allowFileManager' => true, 'allowMediaUpload' => true, 'allowFlashUpload' => true, 'allowImageUpload' => true, 'shadowMode' => false, 'width' => '100%', 'height' => '350px', 'uploadJson' => 'test', );}print_r($this->defaults());exit;
At the print end, the value of uploadJson is empty. If you change the uploadJson name, it will be okay.
Http://3v4l.org/4iPth, the book read less don't lie to me, in fact, it must be the reason for your other code, look for it carefully.