|
From: Brian N. <no...@us...> - 2004-11-05 04:14:41
|
Update of /cvsroot/bugin/bugin/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10392/conf Modified Files: config.inc.php Log Message: wow, the first CVS commit in a while :) Added automatic detection of the installation location from index.php . Index: config.inc.php =================================================================== RCS file: /cvsroot/bugin/bugin/conf/config.inc.php,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** config.inc.php 30 Oct 2003 03:51:45 -0000 1.82 --- config.inc.php 5 Nov 2004 04:14:30 -0000 1.83 *************** *** 14,17 **** --- 14,18 ---- // System information variables + $options = ''; $options['baseURL'] = "/bugin/"; $options['formSubmitTo'] = ""; *************** *** 33,40 **** // Check to see if buginBase is already set, usually by other apps like BASS if (!isset($options['buginBase'])) { ! $options['buginBase'] = "./"; ! $options['buginLibBase'] = "{$options['buginBase']}lib/"; ! $options['buginIncBase'] = "{$options['buginBase']}inc/"; } // DB stuffs. --- 34,41 ---- // Check to see if buginBase is already set, usually by other apps like BASS if (!isset($options['buginBase'])) { ! $options['buginBase'] = dirname(dirname(__FILE__)."..") . "/"; } + $options['buginLibBase'] = "{$options['buginBase']}lib/"; + $options['buginIncBase'] = "{$options['buginBase']}inc/"; // DB stuffs. *************** *** 178,182 **** // Stop recursively loading config.local.php if you just copy this file over ! require_once("{$options['buginBase']}conf/config.local.php"); // Include necessary libraries // **** DO NOT KEEP THIS IN config.local.php !!! --- 179,183 ---- // Stop recursively loading config.local.php if you just copy this file over ! require_once("conf/config.local.php"); // Include necessary libraries // **** DO NOT KEEP THIS IN config.local.php !!! |