Changeset 76 for trunk/www/index.php
- Timestamp:
- Aug 24, 2009, 8:53:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/index.php
r74 r76 19 19 $System->AddModule(new Log($System)); 20 20 $System->AddModule(new User($System)); 21 $System->AddModule(new Permission($System)); 21 22 if(isset($_SERVER['REMOTE_ADDR'])) $System->Modules['User']->Check(); 22 else $System->Modules['User']->User['Id'] = $Config['Web']['UserConsoleId']; 23 else $System->Modules['User']->Data['Id'] = $Config['Web']['UserConsoleId']; 24 $System->Modules['Permission']->LoadForUser($System->Modules['User']->Data['Id']); 25 print_r($System->Modules['Permission']->Data); 23 26 24 27 if(array_key_exists('Module', $_GET)) $Module = $_GET['Module'];
Note:
See TracChangeset
for help on using the changeset viewer.