[Gnucash-changes] r12892 - htdocs/trunk - creating new variables
for paths
Neil Williams
codehelp at cvs.gnucash.org
Thu Jan 19 12:10:03 EST 2006
Author: codehelp
Date: 2006-01-19 12:10:03 -0500 (Thu, 19 Jan 2006)
New Revision: 12892
Trac: http://svn.gnucash.org/trac/changeset/12892
Modified:
htdocs/trunk/emulate_globals_on.php
Log:
creating new variables for paths
Modified: htdocs/trunk/emulate_globals_on.php
===================================================================
--- htdocs/trunk/emulate_globals_on.php 2006-01-19 17:09:34 UTC (rev 12891)
+++ htdocs/trunk/emulate_globals_on.php 2006-01-19 17:10:03 UTC (rev 12892)
@@ -10,4 +10,10 @@
extract($superglobal, EXTR_SKIP);
}
}
+$fullname = $_SERVER["PHP_SELF"];
+$topdir= dirname($fullname)."/";
+$toppath= getcwd()."/";
+unset($fullname);
+$topdir.="../";
+$toppath.="../";
?>
More information about the gnucash-changes
mailing list