Changeset 1909
- Timestamp:
- 06/07/10 05:01:09 (3 years ago)
- File:
-
- 1 edited
-
branches/1.4/Hotaru.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/Hotaru.php
r1885 r1909 89 89 90 90 $init = new Initialize($this); 91 91 92 92 $this->db = $init->db; // database object 93 93 $this->cage = $init->cage; // Inspekt cage 94 $this->isDebug = $init->isDebug; // set debug 94 $this->isDebug = $init->isDebug; // set debug 95 95 $this->currentUser = new UserAuth(); // the current user 96 96 $this->plugin = new Plugin(); // instantiate Plugin object … … 130 130 case 'admin': 131 131 $this->isAdmin = true; 132 $this->lang = $lang->includeLanguagePack($this->lang, 'admin'); 133 require_once(LIBS . 'AdminAuth.php'); // include Admin class 132 $this->lang = $lang->includeLanguagePack($this->lang, 'admin'); 134 133 $admin = new AdminAuth(); // new Admin object 135 134 $this->checkCookie(); // check cookie reads user details
Note: See TracChangeset
for help on using the changeset viewer.