Exemple #1
0
 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();
 }
Exemple #2
0
 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/";
 }
Exemple #3
0
 public function __construct($config)
 {
     parent::__construct($config);
     $this->chat = $this->registry["chat"];
 }
Exemple #4
0
 function __construct($config)
 {
     parent::__construct($config);
     $this->dashboard = new Model_Dashboard();
 }