- FICHEIRO: /home2/nsomed/library/Zend/Db/Statement/Pdo.php
- LINHA: 235
- MENSAGEM: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `catalogo_produto_pt`.`id` AS `catalogo_produto_pt_id`, `catalogo_produto_pt`.`categoria_id` AS `catalogo_produto_pt_categoria_id`, `catalogo_produto_pt`.`tipo_primario_id` AS `catalogo_produto_pt_tipo_primario_id`, `catalogo_produto_pt`.`tipo_secundario_id` AS `catalogo_produto_pt_tipo_secundario_id`, `catalogo_produto_pt`.`material_id` AS `catalogo_produto_pt_material_id`, `catalogo_produto_pt`.`marca_id` AS `catalogo_produto_pt_marca_id`, `catalogo_produto_pt`.`forma_id` AS `catalogo_produto_pt_forma_id`, `catalogo_produto_pt`.`ficha_id` AS `catalogo_produto_pt_ficha_id`, `catalogo_produto_pt`.`iva_id` AS `catalogo_produto_pt_iva_id`, `catalogo_produto_pt`.`ordem` AS `catalogo_produto_pt_ordem`, `catalogo_produto_pt`.`codigo` AS `catalogo_produto_pt_codigo`, `catalogo_produto_pt`.`referencia` AS `catalogo_produto_pt_referencia`, `catalogo_produto_pt`.`glass_identifier` AS `catalogo_produto_pt_glass_identifier`, `catalogo_produto_pt`.`ean` AS `catalogo_produto_pt_ean`, `catalogo_produto_pt`.`sku` AS `catalogo_produto_pt_sku`, `catalogo_produto_pt`.`titulo` AS `catalogo_produto_pt_titulo`, `catalogo_produto_pt`.`url` AS `catalogo_produto_pt_url`, `catalogo_produto_pt`.`descricao` AS `catalogo_produto_pt_descricao`, `catalogo_produto_pt`.`modelo` AS `catalogo_produto_pt_modelo`, `catalogo_produto_pt`.`cor` AS `catalogo_produto_pt_cor`, `catalogo_produto_pt`.`tamanho` AS `catalogo_produto_pt_tamanho`, `catalogo_produto_pt`.`coleccao` AS `catalogo_produto_pt_coleccao`, `catalogo_produto_pt`.`unidade` AS `catalogo_produto_pt_unidade`, `catalogo_produto_pt`.`diametro` AS `catalogo_produto_pt_diametro`, `catalogo_produto_pt`.`esferica` AS `catalogo_produto_pt_esferica`, `catalogo_produto_pt`.`cilindrica` AS `catalogo_produto_pt_cilindrica`, `catalogo_produto_pt`.`eixoax` AS `catalogo_produto_pt_eixoax`, `catalogo_produto_pt`.`adicao` AS `catalogo_produto_pt_adicao`, `catalogo_produto_pt`.`acv` AS `catalogo_produto_pt_acv`, `catalogo_produto_pt`.`raio` AS `catalogo_produto_pt_raio`, `catalogo_produto_pt`.`prismatica` AS `catalogo_produto_pt_prismatica`, `catalogo_produto_pt`.`pvp1` AS `catalogo_produto_pt_pvp1`, `catalogo_produto_pt`.`pvp2` AS `catalogo_produto_pt_pvp2`, `catalogo_produto_pt`.`pvp3` AS `catalogo_produto_pt_pvp3`, `catalogo_produto_pt`.`pvp4` AS `catalogo_produto_pt_pvp4`, `catalogo_produto_pt`.`pvpiva1` AS `catalogo_produto_pt_pvpiva1`, `catalogo_produto_pt`.`pvpiva2` AS `catalogo_produto_pt_pvpiva2`, `catalogo_produto_pt`.`pvpiva3` AS `catalogo_produto_pt_pvpiva3`, `catalogo_produto_pt`.`custo_pdr` AS `catalogo_produto_pt_custo_pdr`, `catalogo_produto_pt`.`custo_med` AS `catalogo_produto_pt_custo_med`, `catalogo_produto_pt`.`custo_ult` AS `catalogo_produto_pt_custo_ult`, `catalogo_produto_pt`.`iva` AS `catalogo_produto_pt_iva`, `catalogo_produto_pt`.`promocao` AS `catalogo_produto_pt_promocao`, `catalogo_produto_pt`.`promocao_inicio` AS `catalogo_produto_pt_promocao_inicio`, `catalogo_produto_pt`.`promocao_fim` AS `catalogo_produto_pt_promocao_fim`, `catalogo_produto_pt`.`promocao_preco` AS `catalogo_produto_pt_promocao_preco`, `catalogo_produto_pt`.`stock` AS `catalogo_produto_pt_stock`, `catalogo_produto_pt`.`vto` AS `catalogo_produto_pt_vto`, `catalogo_produto_pt`.`bestseller` AS `catalogo_produto_pt_bestseller`, `catalogo_produto_pt`.`polarizados` AS `catalogo_produto_pt_polarizados`, `catalogo_produto_pt`.`graduaveis` AS `catalogo_produto_pt_graduaveis`, `catalogo_produto_pt`.`imagem` AS `catalogo_produto_pt_imagem`, `catalogo_produto_pt`.`ficheiro` AS `catalogo_produto_pt_ficheiro`, `catalogo_produto_pt`.`activo` AS `catalogo_produto_pt_activo`, `catalogo_produto_pt`.`actualizado` AS `catalogo_produto_pt_actualizado`, `catalogo_produto_pt`.`criado` AS `catalogo_produto_pt_criado`, `catalogo_produto_pt`.`ip` AS `catalogo_produto_pt_ip`, `catalogo_categoria_pt`.`id` AS `catalogo_categoria_pt_id`, `catalogo_categoria_pt`.`pai_id` AS `catalogo_categoria_pt_pai_id`, `catalogo_categoria_pt`.`ficha_id` AS `catalogo_categoria_pt_ficha_id`, `catalogo_categoria_pt`.`iva_id` AS `catalogo_categoria_pt_iva_id`, `catalogo_categoria_pt`.`ordem` AS `catalogo_categoria_pt_ordem`, `catalogo_categoria_pt`.`codigo` AS `catalogo_categoria_pt_codigo`, `catalogo_categoria_pt`.`titulo` AS `catalogo_categoria_pt_titulo`, `catalogo_categoria_pt`.`url` AS `catalogo_categoria_pt_url`, `catalogo_categoria_pt`.`imagem` AS `catalogo_categoria_pt_imagem`, `catalogo_categoria_pt`.`activo` AS `catalogo_categoria_pt_activo`, `catalogo_categoria_pt`.`actualizado` AS `catalogo_categoria_pt_actualizado`, `catalogo_categoria_pt`.`criado` AS `catalogo_categoria_pt_criado`, `catalogo_categoria_pt`.`ip` AS `catalogo_categoria_pt_ip`, `catalogo_tipo_pt`.`id` AS `catalogo_tipo_pt_id`, `catalogo_tipo_pt`.`ordem` AS `catalogo_tipo_pt_ordem`, `catalogo_tipo_pt`.`titulo` AS `catalogo_tipo_pt_titulo`, `catalogo_tipo_pt`.`url` AS `catalogo_tipo_pt_url`, `catalogo_tipo_pt`.`activo` AS `catalogo_tipo_pt_activo`, `catalogo_tipo_pt`.`actualizado` AS `catalogo_tipo_pt_actualizado`, `catalogo_tipo_pt`.`criado` AS `catalogo_tipo_pt_criado`, `catalogo_tipo_pt`.`ip` AS `catalogo_tipo_pt_ip`, `catalogo_tipo_pt`.`id` AS `catalogo_tipo_pt_id`, `catalogo_tipo_pt`.`ordem` AS `catalogo_tipo_pt_ordem`, `catalogo_tipo_pt`.`titulo` AS `catalogo_tipo_pt_titulo`, `catalogo_tipo_pt`.`url` AS `catalogo_tipo_pt_url`, `catalogo_tipo_pt`.`activo` AS `catalogo_tipo_pt_activo`, `catalogo_tipo_pt`.`actualizado` AS `catalogo_tipo_pt_actualizado`, `catalogo_tipo_pt`.`criado` AS `catalogo_tipo_pt_criado`, `catalogo_tipo_pt`.`ip` AS `catalogo_tipo_pt_ip`, `catalogo_material_pt`.`id` AS `catalogo_material_pt_id`, `catalogo_material_pt`.`ordem` AS `catalogo_material_pt_ordem`, `catalogo_material_pt`.`titulo` AS `catalogo_material_pt_titulo`, `catalogo_material_pt`.`url` AS `catalogo_material_pt_url`, `catalogo_material_pt`.`activo` AS `catalogo_material_pt_activo`, `catalogo_material_pt`.`actualizado` AS `catalogo_material_pt_actualizado`, `catalogo_material_pt`.`criado` AS `catalogo_material_pt_criado`, `catalogo_material_pt`.`ip` AS `catalogo_material_pt_ip`, `catalogo_marca`.`id` AS `catalogo_marca_id`, `catalogo_marca`.`ordem` AS `catalogo_marca_ordem`, `catalogo_marca`.`titulo` AS `catalogo_marca_titulo`, `catalogo_marca`.`url` AS `catalogo_marca_url`, `catalogo_marca`.`activo` AS `catalogo_marca_activo`, `catalogo_marca`.`actualizado` AS `catalogo_marca_actualizado`, `catalogo_marca`.`criado` AS `catalogo_marca_criado`, `catalogo_marca`.`ip` AS `catalogo_marca_ip`, `catalogo_forma_pt`.`id` AS `catalogo_forma_pt_id`, `catalogo_forma_pt`.`ordem` AS `catalogo_forma_pt_ordem`, `catalogo_forma_pt`.`titulo` AS `catalogo_forma_pt_titulo`, `catalogo_forma_pt`.`url` AS `catalogo_forma_pt_url`, `catalogo_forma_pt`.`imagem` AS `catalogo_forma_pt_imagem`, `catalogo_forma_pt`.`activo` AS `catalogo_forma_pt_activo`, `catalogo_forma_pt`.`actualizado` AS `catalogo_forma_pt_actualizado`, `catalogo_forma_pt`.`criado` AS `catalogo_forma_pt_criado`, `catalogo_forma_pt`.`ip` AS `catalogo_forma_pt_ip`, `catalogo_ficha_pt`.`id` AS `catalogo_ficha_pt_id`, `catalogo_ficha_pt`.`titulo` AS `catalogo_ficha_pt_titulo`, `catalogo_ficha_pt`.`activo` AS `catalogo_ficha_pt_activo`, `catalogo_ficha_pt`.`actualizado` AS `catalogo_ficha_pt_actualizado`, `catalogo_ficha_pt`.`criado` AS `catalogo_ficha_pt_criado`, `catalogo_ficha_pt`.`ip` AS `catalogo_ficha_pt_ip`, `catalogo_iva`.`id` AS `catalogo_iva_id`, `catalogo_iva`.`titulo` AS `catalogo_iva_titulo`, `catalogo_iva`.`iva` AS `catalogo_iva_iva`, `catalogo_iva`.`activo` AS `catalogo_iva_activo`, `catalogo_iva`.`actualizado` AS `catalogo_iva_actualizado`, `catalogo_iva`.`criado` AS `catalogo_iva_criado`, `catalogo_iva`.`ip` AS `catalogo_iva_ip` FROM `catalogo_produto_pt`
LEFT JOIN `catalogo_categoria_pt` ON catalogo_produto_pt.categoria_id=catalogo_categoria_pt.id
LEFT JOIN `catalogo_tipo_pt` ON catalogo_produto_pt.tipo_primario_id=catalogo_tipo_pt.id
LEFT JOIN `catalogo_tipo_pt` AS `catalogo_tipo_pt_2` ON catalogo_produto_pt.tipo_secundario_id=catalogo_tipo_pt.id
LEFT JOIN `catalogo_material_pt` ON catalogo_produto_pt.material_id=catalogo_material_pt.id
LEFT JOIN `catalogo_marca` ON catalogo_produto_pt.marca_id=catalogo_marca.id
LEFT JOIN `catalogo_forma_pt` ON catalogo_produto_pt.forma_id=catalogo_forma_pt.id
LEFT JOIN `catalogo_ficha_pt` ON catalogo_produto_pt.ficha_id=catalogo_ficha_pt.id
LEFT JOIN `catalogo_iva` ON catalogo_produto_pt.iva_id=catalogo_iva.id WHERE (catalogo_produto_pt.`url` = '/pt/catalogo/list/categoria_id/1/marca/38-69-17-79/material/7/itens/6/forma/3')
- 231. }
- 232. } catch (PDOException $e) {
- 233. require_once 'Zend/Db/Statement/Exception.php';
- 234. $message = sprintf('%s, query was: %s', $e->getMessage(), $this->_stmt->queryString);
- 235. throw new Zend_Db_Statement_Exception($message, (int) $e->getCode(), $e);
- 236. }
- 237. }
- 238.
- 239. /**
- 240. * Fetches a row from the result set.
- FICHEIRO: /home2/nsomed/library/Zend/Db/Statement.php
- LINHA: 303
- 299. /*
- 300. * Simple case - no query profiler to manage.
- 301. */
- 302. if ($this->_queryId === null) {
- 303. return $this->_execute($params);
- 304. }
- 305.
- 306. /*
- 307. * Do the same thing, but with query profiler
- 308. * management before and after the execute.
- FICHEIRO: /home2/nsomed/library/Zend/Db/Adapter/Abstract.php
- LINHA: 480
- 476. }
- 477.
- 478. // prepare and execute the statement with profiling
- 479. $stmt = $this->prepare($sql);
- 480. $stmt->execute($bind);
- 481.
- 482. // return the results embedded in the prepared statement object
- 483. $stmt->setFetchMode($this->_fetchMode);
- 484. return $stmt;
- 485. }
- FICHEIRO: /home2/nsomed/library/Zend/Db/Adapter/Pdo/Abstract.php
- LINHA: 238
- 234. }
- 235. }
- 236.
- 237. try {
- 238. return parent::query($sql, $bind);
- 239. } catch (PDOException $e) {
- 240. /**
- 241. * @see Zend_Db_Statement_Exception
- 242. */
- 243. require_once 'Zend/Db/Statement/Exception.php';
- FICHEIRO: /home2/nsomed/library/Zend/Db/Adapter/Abstract.php
- LINHA: 756
- 752. {
- 753. if ($fetchMode === null) {
- 754. $fetchMode = $this->_fetchMode;
- 755. }
- 756. $stmt = $this->query($sql, $bind);
- 757. $result = $stmt->fetch($fetchMode);
- 758. return $result;
- 759. }
- 760.
- 761. /**
- FICHEIRO: /home2/nsomed/library/Goweb/Db/Model.php
- LINHA: 559
- 555. $result = $this->_db->fetchRow($this->_select);
- 556. $cache->save($result, $this->_table . '_' . md5($this->_select->__toString()), array($this->_table));
- 557. }
- 558. } else {
- 559. $result = $this->_db->fetchRow($this->_select);
- 560. }
- 561.
- 562. // limpa as configuracoes do $this->select, criando uma nova instancia
- 563. $this->_select = $this->_db->select();
- 564.
- FICHEIRO: /home2/nsomed/application/Catalogo/GenericController.php
- LINHA: 140
- 136. $modulosModel = Goweb::getModelInstance('Sistema_Model_Modulo', 'db', false);
- 137. $tabela_modulos = substr($modulosModel->getTableName(), 0, -3);
- 138. $controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
- 139.
- 140. if (($this->_produtoModel->colExists('url') && $pathInfo && ($this->_produtoModel->findBy('url', $pathInfo) || $this->_produtoModel->findBy('url', substr($pathInfo, 1))))
- 141. || ($this->_categoriaModel->colExists('url') && $pathInfo && ($this->_categoriaModel->findBy('url', $pathInfo) || $this->_categoriaModel->findBy('url', substr($pathInfo, 1))))){
- 142.
- 143. if($this->_produtoModel->isLoaded()) {
- 144. //tabela do translate
- 145. $tabela = substr($this->_produtoModel->getTableName(), 0, -3);
- FICHEIRO: /home2/nsomed/application/Catalogo/Controller.php
- LINHA: 32
- 28. * Construtor da classe
- 29. */
- 30. public function init()
- 31. {
- 32. parent::init();
- 33. $this->view->setViewsPath(VIEWS_PATH . DIRECTORY_SEPARATOR . 'Catalogo');
- 34. $this->_tipoModel = Goweb::getModelInstance('Catalogo_Model_Tipo', 'db', false);
- 35. $this->_materialModel = Goweb::getModelInstance('Catalogo_Model_Material', 'db', false);
- 36. $this->_marcaModel = Goweb::getModelInstance('Catalogo_Model_Marca', 'db', false);
- 37. $this->_formaModel = Goweb::getModelInstance('Catalogo_Model_Forma', 'db', false);
- FICHEIRO: /home2/nsomed/library/Zend/Controller/Action.php
- LINHA: 133
- 129. $this->setRequest($request)
- 130. ->setResponse($response)
- 131. ->_setInvokeArgs($invokeArgs);
- 132. $this->_helper = new Zend_Controller_Action_HelperBroker($this);
- 133. $this->init();
- 134. }
- 135.
- 136. /**
- 137. * Initialize object
- 138. *
- FICHEIRO: /home2/nsomed/library/Goweb/Controller/Action.php
- LINHA: 86
- 82. if(!$response) $response = new Zend_Controller_Response_Http();
- 83. if(!$invokeArgs) $invokeArgs = array();
- 84. $this->_auth = Zend_Auth::getInstance();
- 85. $response->setHeader('Content-Type', 'text/html; charset=' . CHARSET);
- 86. parent::__construct($request, $response, $invokeArgs);
- 87. $this->view->assign('baseUrl', str_replace('/admin', '', str_replace('/index.php', '', $this->_request->getBaseUrl())));
- 88. $this->_helper->viewRenderer->setNoController(true);
- 89. $this->_session = Goweb::registry('session');
- 90. $this->view->session = $this->_session;
- 91. if($this->_getParam('lang') && $this->_getParam('lang') != $this->_session->lang && is_array($this->_session->langs) && in_array($this->_getParam('lang'), $this->_session->langs)){
- FICHEIRO: /home2/nsomed/library/Zend/Controller/Dispatcher/Standard.php
- LINHA: 281
- 277. /**
- 278. * Instantiate controller with request, response, and invocation
- 279. * arguments; throw exception if it's not an action controller
- 280. */
- 281. $controller = new $moduleClassName($request, $this->getResponse(), $this->getParams());
- 282. if (!($controller instanceof Zend_Controller_Action_Interface) &&
- 283. !($controller instanceof Zend_Controller_Action)) {
- 284. require_once 'Zend/Controller/Dispatcher/Exception.php';
- 285. throw new Zend_Controller_Dispatcher_Exception(
- 286. 'Controller "' . $moduleClassName . '" is not an instance of Zend_Controller_Action_Interface'
- FICHEIRO: /home2/nsomed/library/Zend/View/Helper/Action.php
- LINHA: 135
- 131. ->setControllerName($controller)
- 132. ->setActionName($action)
- 133. ->setDispatched(true);
- 134.
- 135. $this->dispatcher->dispatch($this->request, $this->response);
- 136.
- 137. // reset the viewRenderer object to it's original state
- 138. Zend_Controller_Action_HelperBroker::addHelper($viewRendererObj);
- 139.
- 140.
- FICHEIRO: /home2/nsomed/library/Goweb/View/Helper/Component.php
- LINHA: 56
- 52. $params['directRequest'] = false;
- 53.
- 54. //$controllerName = $this->_formatControllerName($controller);
- 55. //$actionName = $this->_formatActionName($action);
- 56. $return = $this->action($action, $controller, null, $params);
- 57. //goweb::dump($return);
- 58. //exit();
- 59. return $return;
- 60. }
- 61. }
- FICHEIRO: /home2/nsomed/library/Zend/View/Abstract.php
- LINHA: 350
- 346. // call the helper method
- 347. return call_user_func_array(
- 348. array($helper, $name),
- 349. $args
- 350. );
- 351. }
- 352.
- 353. /**
- 354. * Given a base path, sets the script, helper, and filter paths relative to it
- 355. *
- FICHEIRO: /home2/nsomed/views/Catalogo/list.tpl
- LINHA: 36
- 32.
- 33. <div class="col-xs-12 col-md-9">
- 34.
- 35. <div class="products__header">
- 36. <div class="products__filters"><?php echo $this->component('/catalogo/productFilter/filter/order/id/' . $ordemSelected); ?></div>
- 37. <div class="products__filters"><?php echo $this->component('/catalogo/productFilter/filter/items/id/' . $itensSelected); ?></div>
- 38. </div>
- 39.
- 40. <div class="products__note"><?php echo translate('Com os planos Oftalmed também pode comprar nas lojas físicas e beneficiar dos descontos'); ?>.</div>
- 41.
- FICHEIRO: /home2/nsomed/views/Catalogo/list.tpl
- LINHA: 36
- 32.
- 33. <div class="col-xs-12 col-md-9">
- 34.
- 35. <div class="products__header">
- 36. <div class="products__filters"><?php echo $this->component('/catalogo/productFilter/filter/order/id/' . $ordemSelected); ?></div>
- 37. <div class="products__filters"><?php echo $this->component('/catalogo/productFilter/filter/items/id/' . $itensSelected); ?></div>
- 38. </div>
- 39.
- 40. <div class="products__note"><?php echo translate('Com os planos Oftalmed também pode comprar nas lojas físicas e beneficiar dos descontos'); ?>.</div>
- 41.
- FICHEIRO: /home2/nsomed/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: /home2/nsomed/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: /home2/nsomed/application/Cms/GenericController.php
- LINHA: 2256
- 2252. $session = Goweb::registry('session');
- 2253. $view->id = $session->lastId;
- 2254. $view->titulo = $titulo;
- 2255. $view->extraParams = $extraParams;
- 2256. $view->output = $view->render($template);
- 2257. $view->setViewsPath(VIEWS_PATH);
- 2258. if ($print)
- 2259. $canal = 'print.tpl';
- 2260. $viewRenderer->setRender(str_replace('.' . $viewRenderer->getViewSuffix(), '', $canal));
- 2261. }
- FICHEIRO: /home2/nsomed/application/Catalogo/Controller.php
- LINHA: 685
- 681. 'list.tpl',
- 682. 'Catalogo',
- 683. 'catalogo-list',
- 684. translate('Produtos'),
- 685. $this->_getParam('print'));
- 686. $this->_helper->viewRenderer->setRender($this->_canal);
- 687. } else {
- 688. $this->_helper->viewRenderer->setRender('list');
- 689. }
- 690. }
- FICHEIRO: /home2/nsomed/application/Catalogo/Controller.php
- LINHA: 268
- 264. $this->_resultCategorias = $this->_categoriaModel->count();
- 265. if ($this->_resultCategorias > 0) {
- 266. return $this->listCategoriasAction($categoriaId);
- 267. } else {
- 268. return $this->listProdutosAction();
- 269. }
- 270. } else {
- 271. return $this->listProdutosAction();
- 272. }
- 273. }
- FICHEIRO: /home2/nsomed/library/Goweb/Controller/Action.php
- LINHA: 276
- 272. */
- 273. /*if ($this->getInvokeArg('useCaseSensitiveActions')) {
- 274. trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
- 275. }*/
- 276. $this->$action();
- 277. } else {
- 278. $this->__call($action, array());
- 279. }
- 280. $this->postDispatch();
- 281. }
- FICHEIRO: /home2/nsomed/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: /home2/nsomed/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: /home2/nsomed/library/Goweb/Application.php
- LINHA: 449
- 445. }
- 446.
- 447. public function runApp(){
- 448. $frontController = Zend_Controller_Front::getInstance();
- 449. $frontController->dispatch();
- 450. }
- 451. }
- FICHEIRO: /home2/nsomed/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. */