[geeklog-devel] $_CONF['path'] setting

Tony Bibbs tony at tonybibbs.com
Wed May 23 10:15:59 EDT 2007

So what's your goal here?  Is it to not have to edit config.php?  If so you've got a lot more problems than $_CONF['path'] such as all the database parameters.  Also, technically you'd want to replace the '/' with the PHP constant DIRECTORY_SEPARATOR.


----- Original Message ----
From: "geeklog at mystral-kk.net" <geeklog at mystral-kk.net>
To: geeklog-devel at lists.geeklog.net
Sent: Wednesday, May 23, 2007 8:21:47 AM
Subject: [geeklog-devel] $_CONF['path'] setting

Hi all,

Every time you install Geeklog, you have to edit config.php and set some
values.  But is it necessary to set $_CONF['path'] manually?  I tried

$_CONF['path'] = dirname( __FILE__ ) . '/';

and it worked fine.  I've asked some friends to see if this hack works and
none of them have said "No", including CGI-version PHP.  Any suggestions?

geeklog-devel mailing list
geeklog-devel at lists.geeklog.net

More information about the geeklog-devel mailing list