php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #66710
Patch render.php revision 2014-02-13 19:03 UTC by steely dot wing at gmail dot com

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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 06:01:32 2024 UTC