mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 00:48:57 +02:00
Make file locations work better from global install.
This commit is contained in:
+2
-2
@@ -46,8 +46,8 @@ class Autoload
|
||||
*/
|
||||
public static function loadUserTask($taskName)
|
||||
{
|
||||
$classFile = '.mage/tasks/' . ucfirst($taskName) . '.php';
|
||||
$classFile = getcwd() . '/.mage/tasks/' . ucfirst($taskName) . '.php';
|
||||
require_once $classFile;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user