chmod o+w $@
htdocs/valid.html:
- touch templates_c/valid.html
- cd htdocs && ln -sf ../templates_c/valid.html
+ touch spool/templates_c/valid.html
+ cd htdocs && ln -sf ../spool/templates_c/valid.html
htdocs/uploads:
cd htdocs && ln -sf ../spool/uploads
htdocs/wikipub:
cd htdocs && ln -sf ../wiki/pub wikipub
-wiki/local/pmwiki.config.php:
- cd wiki/local/ && ln -sf ../../plugins/pmwiki.config.php
+wiki/local/farmconfig.php:
+ cd wiki/local/ && ln -sf ../../plugins/pmwiki.config.php farmconfig.php
wiki/pub/skins/empty:
cd wiki/pub/skins/ && ln -sf ../../../install.d/wiki/empty
wiki: get-wiki build-wiki spool/uploads htdocs/uploads htdocs/wikipub
spool/wiki.d::
- cd $@ && ln -s ../../install.d/wiki/wiki.d/* .
+ cd $@ && ln -sf ../../install.d/wiki/wiki.d/* .
get-wiki:
@if ! test -d wiki; then \
{
global $globals;
+ $this->DiogenesCorePage();
+
$this->template_dir = $globals->spoolroot."/templates/";
$this->compile_dir = $globals->spoolroot."/spool/templates_c/";
array_unshift($this->plugins_dir, $globals->spoolroot."/plugins/");
$this->_tpl = $tpl;
$this->_errors = new XOrgErrors;
- $this->DiogenesCorePage();
$this->register_prefilter('at_to_globals');
$this->register_prefilter('trimwhitespace');
$this->addJsLink('javascript/xorg.js');
$this->compile_check=true;
$this->template_dir = $globals->root . "/templates/";
- $this->compile_dir = $globals->root . "/templates_c/";
+ $this->compile_dir = $globals->root . "/spool/templates_c/";
$this->config_dir = $globals->root . "/configs/";
$this->register_outputfilter('mail_format');