| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | -spl_autoload_register( 'bbp_core_autoloader' ); | |
| 2 | +spl_autoload_register( 'forumax_autoloader' ); | |
| 3 | 3 | |
| 4 | 4 | /** |
| 5 | 5 | * Autoload files for the plugin |
| 6 | 6 | * |
| @@ -6,11 +6,11 @@ | ||
| 6 | 6 | * |
| 7 | 7 | * @param string $class |
| 8 | 8 | * @return void |
| 9 | 9 | */ |
| 10 | -function bbp_core_autoloader( $class ) { | |
| 10 | +function forumax_autoloader( $class ) { | |
| 11 | 11 | $path = __DIR__ . '/includes/' . str_replace( '\\', '/', $class ) . '.php'; |
| 12 | 12 | |
| 13 | 13 | if ( file_exists( $path ) ) { |
| 14 | 14 | include_once $path; |
| 15 | 15 | } |
| 16 | -} | |
| 16 | +} | |