- FICHEIRO: /home/placonascente/library/Goweb/Controller/Action.php
- LINHA: 857
- MENSAGEM: Unable to communicate securely with peer: requested domain name does not match the server's certificate.
- 853. curl_close($curl);
- 854.
- 855. if ($error) {
- 856.
- 857. throw new Goweb_Exception($error);
- 858.
- 859. } else {
- 860.
- 861. return json_decode($response);
- 862.
- FICHEIRO: /home/placonascente/application/Catalogo/Controller.php
- LINHA: 26
- 22. public function init() {
- 23.
- 24.
- 25.
- 26. $loginUserWebService = $this->_webServiceLogin();
- 27.
- 28. if (!$loginUserWebService->sucesso === true)
- 29. return $this->_redirect('/');
- 30.
- 31. $openCompanyWebService = $this->_webServiceOpenCompany();
- FICHEIRO: /home/placonascente/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: /home/placonascente/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: /home/placonascente/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: /home/placonascente/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/placonascente/library/Goweb/Application.php
- LINHA: 451
- 447. }
- 448.
- 449. public function runApp(){
- 450. $frontController = Zend_Controller_Front::getInstance();
- 451. $frontController->dispatch();
- 452. }
- 453. }
- FICHEIRO: /home/placonascente/public_html/index.php
- LINHA: 54
- 50. $application->initSession('_FRONT', true);
- 51. $application->initPainel();
- 52. $application->initLanguage(isset($_GET['lang']) ? $_GET['lang'] : null, true, false);
- 53. $application->initLanguageAdmin(isset($_GET['lang']) ? $_GET['lang'] : null, true, true);
- 54. $application->runApp();
- 55.
- 56. /**
- 57. * Efectua a traducao de uma string.
- 58. */
- 59. function translate() {