function _initialize()
 {
     define("Ueditor", true);
     parent::_initialize();
     if ($this->isadmin) {
         //设置上传大小
         $this->maxSize = (int) CONFIG_UPLOADMAXSIZE * 1024;
         //单位字节
     } else {
         $this->maxSize = (int) CONFIG_QTUPLOADMAXSIZE * 1024;
         //单位字节
     }
 }
Ejemplo n.º 2
0
 function _initialize()
 {
     define("Ueditor", true);
     parent::_initialize();
 }