Changeset 3599 for extensions/Flash_Gallery/include/class.inc.php
- Timestamp:
- Jul 16, 2009, 12:43:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Flash_Gallery/include/class.inc.php
r3531 r3599 254 254 255 255 if (isset($modulename)) 256 { 256 257 $dir = FLASHGAL_PATH . 'modules/'.$modulename .'/'; 258 return $dir.$file; 259 } 257 260 else 261 { 258 262 $dir = FLASHGAL_PATH . 'template/'; 259 263 $theme_file = $dir.$user['template'].'/'.$user['theme'].'/'.$file; 264 $template_file = $dir.$user['template'].'/'.$file; 265 if (file_exists($theme_file)) 266 { 267 return $theme_file; 268 } 269 elseif (file_exists($template_file)) 270 { 271 return $template_file; 272 } 273 else 274 { 275 return $dir.$file; 276 } 277 } 260 278 // echo "dir=".$dir.$file; 261 return $dir.$file;262 279 } 263 280 }
Note: See TracChangeset
for help on using the changeset viewer.