Changeset 207
- Timestamp:
- Sep 21, 2006, 3:36:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/ebihara/prj_pnebiz/webapp/lib/OpenPNE/Smarty.php
r205 r207 56 56 function ext_search($path, &$place) 57 57 { 58 $dft = OPENPNE_MODULES_DIR . '/' . $path;59 $ext = OPENPNE_MODULES_EXT_DIR . '/' . $path;60 $biz = OPENPNE_MODULES_BIZ_DIR . '/' . $path;58 $dft = OPENPNE_MODULES_DIR . '/' . $path; 59 $ext = OPENPNE_MODULES_EXT_DIR . '/' . $path; 60 $biz = OPENPNE_MODULES_BIZ_DIR . '/' . $path; 61 61 62 if (is_readable($biz) && USE_BIZ_DIR) {63 return $biz;64 } elseif (is_readable($ext) && USE_EXT_DIR) {65 return $ext;66 } elseif (is_readable($dft)) {67 return $dft;68 }62 if (is_readable($biz) && USE_BIZ_DIR) { 63 return $biz; 64 } elseif (is_readable($ext) && USE_EXT_DIR) { 65 return $ext; 66 } elseif (is_readable($dft)) { 67 return $dft; 68 } 69 69 70 return false;70 return false; 71 71 } 72 72
Note: See TracChangeset
for help on using the changeset viewer.