- FICHEIRO: /home/inforbarrosas/views/Cms/include_head_homepage.tpl
- LINHA: 4
- MENSAGEM: Undefined index: session_backoffice
- 1.
<?php
- 2.
- 3. $session = Goweb::registry('session');
- 4. if ($_SESSION['session_backoffice'] == false) {
- 5. header("Location: /pt/go/em-manutencao");
- 6. die();
- 7.
- 8.
- 9. }
- FICHEIRO: /home/inforbarrosas/views/Cms/include_head_homepage.tpl
- LINHA: 4
- 1.
<?php
- 2.
- 3. $session = Goweb::registry('session');
- 4. if ($_SESSION['session_backoffice'] == false) {
- 5. header("Location: /pt/go/em-manutencao");
- 6. die();
- 7.
- 8.
- 9. }
- FICHEIRO: /home/inforbarrosas/views/base.tpl
- LINHA: 12
- 8.
- 9. echo $this->doctype(); ?>
- 10. <html lang="<?php echo $session->lang; ?>" xml:lang="<?php echo $session->lang; ?>">
- 11. <head>
- 12. <?php include_once('Cms/include_head_homepage.tpl'); ?>
- 13. <link rel="icon" href="/favicon.ico" type="image/x-icon">
- 14. </head>
- 15. <body class="base">
- 16. <?php include_once('Cms/schema_generic.tpl'); ?>
- 17. <div class="container">
- FICHEIRO: /home/inforbarrosas/library/Goweb/View.php
- LINHA: 61
- 57. extract(get_object_vars($this));
- 58. if ($this->_useViewStream && $this->useStreamWrapper()) {
- 59. include 'zend.view://' . func_get_arg(0);
- 60. } else {
- 61. include func_get_arg(0);
- 62. }
- 63. }
- 64.
- 65. /**
- 66. * Escapes a value for output in a view script.
- FICHEIRO: /home/inforbarrosas/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/inforbarrosas/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/inforbarrosas/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/inforbarrosas/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/inforbarrosas/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/inforbarrosas/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/inforbarrosas/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/inforbarrosas/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/inforbarrosas/library/Goweb/Application.php
- LINHA: 449
- 445. }
- 446.
- 447. public function runApp(){
- 448. $frontController = Zend_Controller_Front::getInstance();
- 449. $frontController->dispatch();
- 450. }
- 451. }
- 452.
- FICHEIRO: /home/inforbarrosas/public_html/index.php
- LINHA: 65
- 61. $application->initPainel();
- 62. $lang = isset($_GET['lang']) ? $_GET['lang'] : null;
- 63. $application->initLanguage($lang, true, false);
- 64. $application->initLanguageAdmin($lang, true, true);
- 65. $application->runApp();
- 66.
- 67.
- 68. /**
- 69. * Efectua a traducao de uma string.
- 70. */