SF.net SVN: postfixadmin: [197] trunk/config.inc.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <chr...@us...> - 2007-11-04 21:05:55
|
Revision: 197
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=197&view=rev
Author: christian_boltz
Date: 2007-11-04 13:06:00 -0800 (Sun, 04 Nov 2007)
Log Message:
-----------
- also read config.local.php when in /users/
Modified Paths:
--------------
trunk/config.inc.php
Modified: trunk/config.inc.php
===================================================================
--- trunk/config.inc.php 2007-11-04 21:02:26 UTC (rev 196)
+++ trunk/config.inc.php 2007-11-04 21:06:00 UTC (rev 197)
@@ -57,6 +57,7 @@
$CONF['database_tables'] = array (
'admin' => 'admin',
'alias' => 'alias',
+ 'config' => 'config',
'domain' => 'domain',
'domain_admins' => 'domain_admins',
'log' => 'log',
@@ -313,11 +314,15 @@
// that future updates work without problems, you can use a separate config
// file (config.local.php) instead of editing this file and override some
// settings there.
-if (file_exists (realpath ("./config.local.php"))) {
+if (file_exists (realpath ("./config.local.php"))) { # for /
include('config.local.php');
+} elseif (file_exists (realpath ("../config.local.php"))) { # for /users/
+ include('../config.local.php');
};
+
//
// END OF CONFIG FILE
//
+/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|