mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 00:48:57 +02:00
@@ -31,6 +31,11 @@ class Autoload
|
||||
if (strpos($className, 'Task\\') === 0) {
|
||||
$baseDir = getcwd() . '/.mage/tasks';
|
||||
$postfix = substr($postfix, 5);
|
||||
|
||||
} else if (strpos($className, 'Command\\') === 0) {
|
||||
$baseDir = getcwd() . '/.mage/commands';
|
||||
$postfix = substr($postfix, 8);
|
||||
|
||||
} else {
|
||||
$baseDir = dirname(dirname(__FILE__));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user