- Timestamp:
- 2013/08/05 19:57:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/SC_ClassAutoloader.php
r22856 r23028 119 119 } 120 120 } 121 include $classpath; 121 if (file_exists($classpath)) { 122 include $classpath; 123 } else { 124 $arrPath = explode(PATH_SEPARATOR, get_include_path()); 125 foreach ($arrPath as $path) { 126 if (file_exists($path . '/' .$classpath)) { 127 include $classpath; 128 break; 129 } 130 } 131 } 122 132 } 123 133 }
Note: See TracChangeset
for help on using the changeset viewer.