[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.

--Tony

----- 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
setting

$_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?
-- 
  mystral-kk
  http://mystral-kk.net


_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://eight.pairlist.net/mailman/listinfo/geeklog-devel






More information about the geeklog-devel mailing list