|
LocalCustomizations/local/config.php/pub/css/local.csscss ,PmWiki:
local/config.phpPmWikiWikiWiki pmwiki.phpPmWiki.Variables 1 ( TRUE)?action=diagphpinfo?action=phpinfo $EnableDiag = 1;
# Remove the default "rel='nofollow'" attribute for external links. $UrlLinkFmt = "<a class='urllink' href='\$LinkUrl' title='\$LinkAlt'>\$LinkText</a>" “config.php” include_once("cookbook/recipefile.php");
include_once("scripts/scriptfile.php");
config.php “scripts/stdconfig.php”“local/config.php” config.php
'config.php config.phpUTF-8"without Byte Order Mask (BOM)" pub/css/local.cssCSSCSS h1, h2, h3, h4, h5 { color: #880000; } /*dark red titles*/ a { text-decoration: none; } /* don't underline links */ pmwiki.php“pmwiki.php”scripts/“config.php”config.php FAQ“local”“config.php” "docs/sample-config.php" "local""config.php". "#" Group Customizations “Main.HomePage”( $DefaultPage = 'ABC.StartPage';
How do I get the group / page name in a local configuration file (e.g. local/config.php)?
## Get the group and page name $pagename = ResolvePageName($pagename); $page = PageVar($pagename, '$FullName'); $group = PageVar($pagename, '$Group'); $name = PageVar($pagename, '$Name'); wikilib.d Site.*SiteAdmin.*PmWiki* 404 |