diff --git a/fop_console.php b/fop_console.php index 6bd0c7e0..77592592 100644 --- a/fop_console.php +++ b/fop_console.php @@ -18,7 +18,10 @@ * */ -require_once 'vendor/autoload.php'; +$autoloadPath = __DIR__ . '/vendor/autoload.php'; +if (file_exists($autoloadPath)) { + require_once $autoloadPath; +} class Fop_Console extends Module {