Changeset 1027 in ExiteCMS for branches/PLi-Fusion/administration/index.php
- Timestamp:
- 10/27/07 11:28:20 (5 years ago)
- Location:
- branches/PLi-Fusion
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
administration/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/PLi-Fusion
- Property svn:ignore
-
old new 2 2 config.backup.php 3 3 config.php 4 _revision_.svn
-
- Property svn:ignore
-
branches/PLi-Fusion/administration/index.php
r1018 r1027 65 65 while ($data = dbarray($result)) { 66 66 if (checkrights($data['admin_rights']) && $data['admin_link'] != "reserved") { 67 // check the location of the admin image, and add the correct path to it67 // check the location and the existence of the admin image, and pass the full path to the template 68 68 $path = explode("/", $data['admin_link']); 69 if (isset($path[2]) ) {69 if (isset($path[2]) && file_exists(PATH_MODULES.$path[2]."/images/".$data['admin_image'])) { 70 70 $data['admin_image'] = MODULES.$path[2]."/images/".$data['admin_image']; 71 71 } else { 72 $data['admin_image'] = ADMIN."images/".$data['admin_image']; 72 if (file_exists(PATH_ADMIN."images/".$data['admin_image'])) { 73 $data['admin_image'] = ADMIN."images/".$data['admin_image']; 74 } else { 75 $data['admin_image'] = ADMIN."images/module_panel.gif"; 76 } 73 77 } 74 78 // store the record
Note: See TracChangeset
for help on using the changeset viewer.
