Open webloginpe.class.php and change the Template() function from:
<?
function Template($chunk)
{
global $modx;
$template = ’’;
if ($modx->getChunk($chunk) != ’’)
{
$template = $modx->getChunk($chunk);
}
else if (is_file($chunk))
{
$template = file_get_contents($chunk);
}
else
{
$template = $chunk;
}
return $template;
}
?>
to this code:
<?
function Template($chunk)
{
global $modx;
$template = ’’;
if ($modx->getChunk($chunk) != ’’)
{
$template = $modx->getChunk($chunk);
}
else if (is_file($chunk))
{
$template = file_get_contents($chunk);
}
else
{
$template = ’’;
}
return $template;
}
?>
don’t include the php open and close tags, they are just in the code I posted for syntax highlighting.
-sD-
Dr. Scotty Delicious, DFPA.