Changeset 2818901
- Timestamp:
- 11/16/2022 11:26:16 AM (3 years ago)
- Location:
- surferseo
- Files:
-
- 2 edited
-
tags/1.1.0.183/includes/class-autoloader.php (modified) (1 diff)
-
trunk/includes/class-autoloader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
surferseo/tags/1.1.0.183/includes/class-autoloader.php
r2818847 r2818901 77 77 78 78 // Now build a path to the file using mapping to the file location. 79 $filepath = trailingslashit( dirname( dirname( __FILE__ ) ) . $namespace);80 $filepath .= $file_name;81 $filepath = strtolower( $filepath);79 $filepath = dirname( dirname( __FILE__ ) ); 80 $filepath = trailingslashit( $filepath . strtolower( $namespace ) ); 81 $filepath .= strtolower( $file_name ); 82 82 83 83 // If the file exists in the specified path, then include it. -
surferseo/trunk/includes/class-autoloader.php
r2818847 r2818901 77 77 78 78 // Now build a path to the file using mapping to the file location. 79 $filepath = trailingslashit( dirname( dirname( __FILE__ ) ) . $namespace);80 $filepath .= $file_name;81 $filepath = strtolower( $filepath);79 $filepath = dirname( dirname( __FILE__ ) ); 80 $filepath = trailingslashit( $filepath . strtolower( $namespace ) ); 81 $filepath .= strtolower( $file_name ); 82 82 83 83 // If the file exists in the specified path, then include it.
Note: See TracChangeset
for help on using the changeset viewer.