<code>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; </code>
打印处来uploadJson为毛是空, 如果把uploadJson 名字换下 是没问题的
<code>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; </code>
打印处来uploadJson为毛是空, 如果把uploadJson 名字换下 是没问题的
http://3v4l.org/4iPth ,书读的少不要骗我啦,其实肯定还是你其他代码的原因,仔细找找咯。