Skip to content

Commit

Permalink
Allow autoloading of players.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Baker committed May 12, 2016
1 parent c2a10a8 commit 1d40455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class Autoloader {
public function load($name) {
foreach (['', 'exceptions/'] as $dir) {
foreach (['', 'exceptions/', 'players/'] as $dir) {
$path = __DIR__ . '/' . $dir . mb_strtolower($name) . '.php';
if (file_exists($path)) {
require_once $path;
Expand Down

0 comments on commit 1d40455

Please sign in to comment.