芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/bd.mgaplay.com.br/vendor/slim/slim/Slim/Error/Renderers/XmlErrorRenderer.php
\n"; $xml .= "
\n
" . $this->createCdataSection($this->getErrorTitle($exception)) . "
\n"; if ($displayErrorDetails) { do { $xml .= "
\n"; $xml .= '
' . get_class($exception) . "
\n"; $xml .= '
' . $exception->getCode() . "
\n"; $xml .= '
' . $this->createCdataSection($exception->getMessage()) . "
\n"; $xml .= '
' . $exception->getFile() . "
\n"; $xml .= '
' . $exception->getLine() . "
\n"; $xml .= "
\n"; } while ($exception = $exception->getPrevious()); } $xml .= '
'; return $xml; } /** * Returns a CDATA section with the given content. * * @param string $content * @return string */ private function createCdataSection(string $content): string { return sprintf('', str_replace(']]>', ']]]]>', $content)); } }