Changeset 1909


Ignore:
Timestamp:
06/07/10 05:01:09 (3 years ago)
Author:
shibuya246
Message:

[Branch 1.4] remove unneeded LIBS call dor admin_auth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/Hotaru.php

    r1885 r1909  
    8989                         
    9090                        $init = new Initialize($this); 
    91                          
     91 
    9292                        $this->db           = $init->db;            // database object 
    9393                        $this->cage         = $init->cage;          // Inspekt cage 
    94                         $this->isDebug      = $init->isDebug;       // set debug 
     94                        $this->isDebug      = $init->isDebug;       // set debug                         
    9595                        $this->currentUser  = new UserAuth();       // the current user 
    9696                        $this->plugin       = new Plugin();         // instantiate Plugin object 
     
    130130                        case 'admin': 
    131131                                $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');                          
    134133                                $admin = new AdminAuth();               // new Admin object 
    135134                                $this->checkCookie();                   // check cookie reads user details 
Note: See TracChangeset for help on using the changeset viewer.