@@ -5,8 +5,8 @@ |
||
| 5 | 5 | // you like. |
| 6 | 6 | |
| 7 | 7 | // Install PSR-4-compatible class autoloader |
| 8 | -spl_autoload_register(function($class){ |
|
| 9 | - require str_replace('\\', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php'; |
|
| 8 | +spl_autoload_register(function($class) { |
|
| 9 | + require str_replace('\\', DIRECTORY_SEPARATOR, ltrim($class, '\\')) . '.php'; |
|
| 10 | 10 | }); |
| 11 | 11 | // If using Composer, use this instead: |
| 12 | 12 | //require 'vendor/autoload.php'; |