[pmwiki-users] $DefaultPage doesn't show up in $FmtPV by default?

tamouse mailing lists tamouse.lists at gmail.com
Wed Dec 19 20:16:21 CST 2012


On Tue, Dec 18, 2012 at 4:48 AM, Petko Yotov <5ko at 5ko.fr> wrote:
> tamouse mailing lists writes:
>>
>> $DefaultPage is not in $FmtPV. Is this a bug? Or is this intentional?
>
>
> Neither one. All PHP variables are not automatically visible in the $FmtPV
> array, only those which we needed for some reason.
>
> You can enable a page variable {$DefaultPage} by adding in config.php:
>
>  $FmtPV['$DefaultPage'] = '$GLOBALS["DefaultPage"]';

Yes, I already did that. I was just surprised as both DefaultGroup and
DefaultName are in there already.



More information about the pmwiki-users mailing list