示例#1
0
 public function __construct()
 {
     if (!file_exists(\base_config::$baseDir . '/inc/config/config.php') || file_exists(\base_config::$baseDir . '/inc/config/config.php') && file_exists(\base_config::$baseDir . '/install/')) {
         $this->request = array_merge($_REQUEST, $_COOKIE);
         $this->runInstall();
     } else {
         parent::__construct();
     }
 }
示例#2
0
 public function __construct($categoryId, $viewName = null, $acceptedOnly = false, $textOnly = 0, $openBlank = false, $isNotUtf8 = false)
 {
     $viewName = is_null($viewName) ? 'affiliate_list' : $viewName;
     parent::__construct();
     $this->categoryId = $categoryId;
     $this->viewName = $viewName;
     $this->acceptedOnly = $acceptedOnly;
     $this->textOnly = $textOnly;
     $this->openBlank = $openBlank;
     $this->isNotUtf8 = $isNotUtf8;
     $this->returnRender = false;
 }
示例#3
0
 function __construct($isNotUtf8, $maxSize = array())
 {
     parent::__construct();
     $this->isNotUtf8 = $isNotUtf8;
     $this->returnRender = false;
     if (isset($maxSize['width']) && !isset($maxSize['height'])) {
         $maxSize['height'] = $maxSize['width'];
     }
     if (isset($maxSize['height']) && !isset($maxSize['width'])) {
         $maxSize['width'] = $maxSize['height'];
     }
     $this->maxSize = $maxSize;
 }
示例#4
0
 function __construct($isNotUtf8)
 {
     parent::__construct();
     $this->isNotUtf8 = $isNotUtf8;
     $this->returnRender = false;
 }