Changeset 74 for trunk/www/index.php
- Timestamp:
- Aug 23, 2009, 9:38:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/index.php
r69 r74 2 2 3 3 include('Include.php'); 4 if(array_key_exists('argv', $_SERVER)) 5 $_GET = array_merge($_GET, ParseCommandLineArgs($_SERVER['argv'])); 4 6 5 7 // SQL injection hack protection … … 18 20 $System->AddModule(new User($System)); 19 21 if(isset($_SERVER['REMOTE_ADDR'])) $System->Modules['User']->Check(); 20 else $System->Modules['User']->User['Id'] = 0; 21 22 else $System->Modules['User']->User['Id'] = $Config['Web']['UserConsoleId']; 22 23 23 24 if(array_key_exists('Module', $_GET)) $Module = $_GET['Module'];
Note:
See TracChangeset
for help on using the changeset viewer.