[pmwiki-users] farm-wide PerGroup/PerPage configuration files i.e. in $FarmD/local/farmconfig/
Daniel Scheibler
scheibi at gmail.com
Fri Aug 26 03:27:11 CDT 2005
Hello,
I think it would nice to have farm-wide PerGroup/PerPage
configuration files in a directory like
$FarmD/local/farmconfig/
In my farmconfig.php I implement this:
if (IsEnabled($EnableLocalConfig,1)) {
if (file_exists('local/config.php'))
include_once('local/config.php');
elseif (file_exists('config.php'))
include_once('config.php');
}
if ($pagename != "") {
$group = FmtPageName('$Group.$Name', $pagename);
$name = FmtPageName('$Group', $pagename);
if (file_exists("$FarmD/local/farmconfig/$group.php")) {
include_once("$FarmD/local/farmconfig/$group.php");
}
if (file_exists("$FarmD/local/farmconfig/$name.php")) {
include_once("$FarmD/local/farmconfig/$name.php");
}
}
include_once("$FarmD/scripts/pgcust.php");
Would it possible to make this available in standard pmwiki installation?
Maybe per inclusion in $FarmD/scripts/pgcust.php ?
Greets,
scheiby.
--
Daniel Scheibler ========:} student at
eMail: scheibi at gmail.com BTU Cottbus/Germany
WWW: http://www.scheiby.de
More information about the pmwiki-users
mailing list