Left a debuging message

This commit is contained in:
Simon DELAGE 2015-05-12 14:00:25 +02:00
parent bbbe4cb9ef
commit 21ba3adfda
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{
function init(&$event, $param) {
global $conf;
$this->dataDir = realpath($conf['savedir']);
$this->confDir = realpath(DOKU_CONF);
$this->templatesDir = realpath($this->getConf('templates_path'));
msg("dataDir=".$this->dataDir."; confDir=".$this->confDir."; templatesDir=".$this->templatesDir,0);
// $this->confDir = realpath(DOKU_CONF);
// $this->templatesDir = realpath($this->getConf('templates_path'));
// msg("dataDir=".$this->dataDir."; confDir=".$this->confDir."; templatesDir=".$this->templatesDir,0);
// CREATE PRIVATE NAMESPACE START PAGE TEMPLATES IF NEEDED
if (($this->getConf('create_private_ns')) && (!is_file(DOKU_CONF.'../'.$this->getConf('templates_path').'/userhomepage_private.txt')) && ($_SERVER['REMOTE_USER'] != null)) {
// If old template exists, use it as source to create userhomepage_private.txt in templates_path