public function __construct()
 {
     // 车源类型
     $this->source_type = array("dealer" => array("bg" => "green-bg", "name" => "优质商家车源"), "odealer" => array("bg" => "violet-bg", "name" => "普通商家车源"), "cpo" => array("bg" => "orange-bg", "name" => "厂商认证二手车"), "personal" => array("bg" => "blue-bg", "name" => "个人车源"));
     parent::__construct($this);
     $this->_view->setResourcePath($this->static_url);
 }
 public function __construct()
 {
     //		$this->uploadPath = "D:/xampp/htdocs/pahaoche/gongpingjia/static/uploads/car/";
     $this->uploadPath = "/wwwroot/gongpingjiaPHP/static/uploads/car/";
     parent::__construct($this);
     $this->_view->setResourcePath($this->static_url);
 }
 public function __construct()
 {
     parent::__construct($this);
     try {
         $this->setCache(XF_Cache_Memcache::getInstance());
     } catch (XF_Exception $e) {
     }
     parent::__construct($this);
     $this->_view->setResourcePath($this->static_url);
 }
Example #4
0
 public function __construct()
 {
     parent::__construct($this);
 }