define("ROOT", dirname(__DIR__));
define("REFS", getenv("REFPATH") ?: implode(PATH_SEPARATOR, glob(ROOT."/refs/*")));
-ini_set("open_basedir", ROOT.":".REFS);
+#ini_set("open_basedir", ROOT.":".REFS);
$loader = require ROOT . "/vendor/autoload.php";
/* @var $loader \Composer\Autoload\ClassLoader */
$ctl = new Controller;
$ctl->setDependency("baseUrl", new Url)
- ->attach(new Action)
+ ->attach(new Action(["refpath" => REFS]))
->attach(new Layout)
->notify()
->getResponse()