1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <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>
|
Copy after login
Copy after login
打印处来uploadJson为毛是空, 如果把uploadJson 名字换下 是没问题的
回复内容:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <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>
|
Copy after login
Copy after login
打印处来uploadJson为毛是空, 如果把uploadJson 名字换下 是没问题的
http://3v4l.org/4iPth ,书读的少不要骗我啦,其实肯定还是你其他代码的原因,仔细找找咯。