Admins always get stack trace on on fatal exceptions

PHP:

Код:
public function displayFatalExceptionMessage($e)
{
    $upgradePending = $this->hasPendingUpgrade();
    $isInstalled = \XF\Util\File::installLockExists();
    $ignorePendingUpgrade = (!$isInstalled || $this->ignorePendingUpgrade || $this->forceShowTrace);

    if (\XF::$debugMode || !$isInstalled || $this->forceShowTrace)
    {
        $showTrace = true;
    }
    else
    {
        $showTrace = false;

        try
        {
            $visitor = \XF::visitor();
            $showTrace...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ