Changeset 1016 in ExiteCMS
- Timestamp:
- 10/24/07 22:04:00 (4 years ago)
- File:
-
- 1 edited
-
trunk/administration/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/index.php
r1015 r1016 66 66 if (checkrights($data['admin_rights']) && $data['admin_link'] != "reserved") { 67 67 // check the location of the admin image, and add the correct path to it 68 if (!$path = strrchr($data['admin_link'], "/")) { 69 $path = ADMIN; 68 $path = explode("/", $data['admin_link']); 69 if (isset($path[2])) { 70 $data['admin_image'] = MODULES."/".$path."/images/".$data['admin_image']; 71 } else { 72 $data['admin_image'] = ADMIN."images/".$data['admin_image']; 70 73 } 71 $data['admin_image'] = $path."images/".$data['admin_image'];72 74 // store the record 73 75 $modules[] = $data;
Note: See TracChangeset
for help on using the changeset viewer.
