diff contrib/web/php-admin/conf/config.php @ 759:73c8715367fb

Better techniques for locating support files in php-admin - existing installations will need to have their conf/config.php altered to set the variable $confdir
author Ben Schmidt
date Wed, 06 Oct 2010 10:35:04 +1100
parents e39e57029aa9
children
line wrap: on
line diff
--- a/contrib/web/php-admin/conf/config.php	Wed Oct 06 10:12:23 2010 +1100
+++ b/contrib/web/php-admin/conf/config.php	Wed Oct 06 10:35:04 2010 +1100
@@ -1,6 +1,7 @@
 <?php
 
 $topdir = "/var/spool/mlmmj";
-$templatedir = "/home/mlmmj/templates";
+$confdir = dirname(__FILE__);
+$templatedir = dirname(dirname(__FILE__))."/templates";
 
 ?>