Patch render.php for Doc Build problem Bug #66710
Patch version 2014-02-13 19:03 UTC
Return to Bug #66710 |
Download this patch
Patch Revisions:
Developer: steely.wing@gmail.com
diff --git a/render.org.php b/render.php
index 0a22033..9c4169c 100644
--- a/render.org.php
+++ b/render.php
@@ -15,8 +15,7 @@ spl_autoload_register(array(__NAMESPACE__ . "\\Autoloader", "autoload"));
$conf = array();
if (file_exists("phd.config.php")) {
- $conf = include "phd.config.php";
- Config::init($conf);
+ Config::init(include "phd.config.php");
v("Loaded config from existing file", VERBOSE_MESSAGES);
} else {
// need to init regardless so we get package-dirs from the include-path
|