- FICHEIRO: /home/spzn/views/Cms/include_head_generic.tpl
- LINHA: 112
- MENSAGEM: Undefined index: session_backoffice
- 108.
- 109. <?php
- 110.
- 111. $session = Goweb::registry('session');
- 112. if ($_SESSION['session_backoffice'] == false) {
- 113. header("Location: /pt/go/em-manutencao");
- 114. die();
- 115.
- 116. }
- 117.
- FICHEIRO: /home/spzn/views/Cms/include_head_generic.tpl
- LINHA: 112
- 108.
- 109. <?php
- 110.
- 111. $session = Goweb::registry('session');
- 112. if ($_SESSION['session_backoffice'] == false) {
- 113. header("Location: /pt/go/em-manutencao");
- 114. die();
- 115.
- 116. }
- 117.
- FICHEIRO: /home/spzn/views/base-sidebar.tpl
- LINHA: 5
- 1.
<?php include_once('Cms/include_files.tpl'); ?>
- 2. <?php echo $this->doctype(); ?>
- 3. <html lang="<?php echo $session->lang; ?>" xml:lang="<?php echo $session->lang; ?>">
- 4. <head>
- 5. <?php include_once('Cms/include_head_generic.tpl'); ?>
- 6. </head>
- 7. <body>
- 8. <!-- Google Tag Manager (noscript) -->
- 9. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NHKTN85"
- 10. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- FICHEIRO: /home/spzn/library/Goweb/View.php
- LINHA: 49
- 45. extract(get_object_vars($this));
- 46. if ($this->_useViewStream && $this->useStreamWrapper()) {
- 47. include 'zend.view://' . func_get_arg(0);
- 48. } else {
- 49. include func_get_arg(0);
- 50. }
- 51. }
- 52.
- 53. /**
- 54. * Escapes a value for output in a view script.
- FICHEIRO: /home/spzn/library/Zend/View/Abstract.php
- LINHA: 888
- 884. $this->_file = $this->_script($name);
- 885. unset($name); // remove $name from local scope
- 886.
- 887. ob_start();
- 888. $this->_run($this->_file);
- 889.
- 890. return $this->_filter(ob_get_clean()); // filter output
- 891. }
- 892.
- 893. /**
- FICHEIRO: /home/spzn/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 912
- 908. $name = $this->getResponseSegment();
- 909. }
- 910.
- 911. $this->getResponse()->appendBody(
- 912. $this->view->render($script),
- 913. $name
- 914. );
- 915.
- 916. $this->setNoRender();
- 917. }
- FICHEIRO: /home/spzn/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 933
- 929. public function render($action = null, $name = null, $noController = null)
- 930. {
- 931. $this->setRender($action, $name, $noController);
- 932. $path = $this->getViewScript();
- 933. $this->renderScript($path, $name);
- 934. }
- 935.
- 936. /**
- 937. * Render a script based on specification variables
- 938. *
- FICHEIRO: /home/spzn/library/Zend/Controller/Action/Helper/ViewRenderer.php
- LINHA: 972
- 968. */
- 969. public function postDispatch()
- 970. {
- 971. if ($this->_shouldRender()) {
- 972. $this->render();
- 973. }
- 974. }
- 975.
- 976. /**
- 977. * Should the ViewRenderer render a view script?
- FICHEIRO: /home/spzn/library/Zend/Controller/Action/HelperBroker.php
- LINHA: 277
- 273. */
- 274. public function notifyPostDispatch()
- 275. {
- 276. foreach (self::getStack() as $helper) {
- 277. $helper->postDispatch();
- 278. }
- 279. }
- 280.
- 281. /**
- 282. * getHelper() - get helper by name
- FICHEIRO: /home/spzn/library/Goweb/Controller/Action.php
- LINHA: 286
- 282.
- 283. // whats actually important here is that this action controller is
- 284. // shutting down, regardless of dispatching; notify the helpers of this
- 285. // state
- 286. $this->_helper->notifyPostDispatch();
- 287. }
- 288.
- 289. /**
- 290. * Obter Caracteres especiais usados em windows
- 291. *
- FICHEIRO: /home/spzn/library/Zend/Controller/Dispatcher/Standard.php
- LINHA: 308
- 304. ob_start();
- 305. }
- 306.
- 307. try {
- 308. $controller->dispatch($action);
- 309. } catch (Exception $e) {
- 310. // Clean output buffer on error
- 311. $curObLevel = ob_get_level();
- 312. if ($curObLevel > $obLevel) {
- 313. do {
- FICHEIRO: /home/spzn/library/Zend/Controller/Front.php
- LINHA: 954
- 950. /**
- 951. * Dispatch request
- 952. */
- 953. try {
- 954. $dispatcher->dispatch($this->_request, $this->_response);
- 955. } catch (Exception $e) {
- 956. if ($this->throwExceptions()) {
- 957. throw $e;
- 958. }
- 959. $this->_response->setException($e);
- FICHEIRO: /home/spzn/library/Goweb/Application.php
- LINHA: 449
- 445. }
- 446.
- 447. public function runApp(){
- 448. $frontController = Zend_Controller_Front::getInstance();
- 449. $frontController->dispatch();
- 450. }
- 451. }
- FICHEIRO: /home/spzn/public_html/index.php
- LINHA: 54
- 50. $application->initPainel();
- 51. $lang = isset($_GET['lang']) ? $_GET['lang'] : null;
- 52. $application->initLanguage($lang, true, false);
- 53. $application->initLanguageAdmin($lang, true, true);
- 54. $application->runApp();
- 55.
- 56.
- 57. /**
- 58. * Efectua a traducao de uma string.
- 59. */