function __construct($config) { parent::__construct($config); if (isset($this->registry["post"]["did"])) { $this->_curdir = $this->registry["post"]["did"]; } $this->_muser = new Model_User(); $this->_mfile = new Model_Photofile($config); $this->_mphoto = new Model_Photo(); }
function __construct($config) { parent::__construct($config); if (isset($_GET['qqfafile'])) { $this->file = new Model_FASave(); } else { $this->file = false; } $this->abspDir = $this->registry['path']['root'] . "/" . $this->registry['path']['upload']; $this->abs_thumbDir = $this->registry['path']['root'] . "/" . $this->registry['path']['upload'] . "_thumb/"; }
public function __construct($config) { parent::__construct($config); $this->chat = $this->registry["chat"]; }
function __construct($config) { parent::__construct($config); $this->dashboard = new Model_Dashboard(); }