Changeset 628 for trunk/index.php
- Timestamp:
- Aug 21, 2009, 5:45:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r626 r628 17 17 $_COOKIE['RealmIndex'] = $_GET['RealmIndex']; 18 18 } 19 if(!array_key_exists('RealmIndex', $_COOKIE)) $_COOKIE['RealmIndex'] = 1; 19 $RealmList = $Config['Mangos']['RealmList']; 20 $FirstRealm = array_shift($RealmList); 21 if(!array_key_exists('RealmIndex', $_COOKIE)) $_COOKIE['RealmIndex'] = $FirstRealm['Id']; 20 22 else 21 23 { 22 24 if(!array_key_exists($_COOKIE['RealmIndex'], $Config['Mangos']['RealmList'])) 23 $_COOKIE['RealmIndex'] = 1;25 $_COOKIE['RealmIndex'] = $FirstRealm['Id']; 24 26 } 25 27
Note:
See TracChangeset
for help on using the changeset viewer.