cvs: docweb /include init.inc.php
| From: | Sean Coates | Date: | Sun, 28 Nov 2004 22:12:23 +0000 |
| Subject: | cvs: docweb /include init.inc.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-446@lists.php.net to get a copy of this message | ||
sean Sun Nov 28 17:12:23 2004 EDT
Modified files:
/docweb/include init.inc.php
Log:
fixed relative path problem
http://cvs.php.net/diff.php/docweb/include/init.inc.php?r1=1.5&r2=1.6&ty=u
Index: docweb/include/init.inc.php
diff -u docweb/include/init.inc.php:1.5 docweb/include/init.inc.php:1.6
--- docweb/include/init.inc.php:1.5 Tue Nov 23 17:53:40 2004
+++ docweb/include/init.inc.php Sun Nov 28 17:12:23 2004
@@ -18,13 +18,13 @@
| Gabor Hojtsy <goba@php.net> |
| Sean Coates <sean@php.net> |
+----------------------------------------------------------------------+
-$Id: init.inc.php,v 1.5 2004/11/23 22:53:40 sean Exp $
+$Id: init.inc.php,v 1.6 2004/11/28 22:12:23 sean Exp $
*/
error_reporting(E_ALL);
// get paths
-require_once('../build-ops.php');
+require_once(dirname(realpath(__FILE__)) . '/../build-ops.php');
// project & language config
require_once('lib_proj_lang.inc.php');