Issue Bug Closed

#14221config.stat_apache_pagenames code [type] ends up empty

old_pekue 07/02/04, 00:19 updated 08/12/06, 14:22

Description

on line 1288 of class.tslib_fe.php:
$pageName = str_replace(‘[type]’,$this->page[‘type’],$pageName);
tslib_fe::getConfigArray() refers to $this->page[‘type’] which is empty

i think the line should be changed to
$pageName = str_replace(“[type]”,$GLOBALS[‘TSFE’]->type,$pageName);

(issue imported from #M187)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.