nyholm
1 month ago
psr
1 month ago
stellarwp
1 month ago
symfony
1 month ago
autoload-classmap.php
3 weeks ago
autoload-files.php
1 year ago
autoload.php
3 years ago
autoload.php
20 lines
| 1 | <?php |
| 2 | // autoload.php @generated by Strauss |
| 3 | |
| 4 | if ( file_exists( __DIR__ . '/autoload-classmap.php' ) ) { |
| 5 | $class_map = include __DIR__ . '/autoload-classmap.php'; |
| 6 | if ( is_array( $class_map ) ) { |
| 7 | spl_autoload_register( |
| 8 | function ( $classname ) use ( $class_map ) { |
| 9 | if ( isset( $class_map[ $classname ] ) && file_exists( $class_map[ $classname ] ) ) { |
| 10 | require_once $class_map[ $classname ]; |
| 11 | } |
| 12 | } |
| 13 | ); |
| 14 | } |
| 15 | unset( $class_map, $strauss_src ); |
| 16 | } |
| 17 | |
| 18 | if ( file_exists( __DIR__ . '/autoload-files.php' ) ) { |
| 19 | require_once __DIR__ . '/autoload-files.php'; |
| 20 | } |