/home/2/r/restaurantfauna/craft/app/framework/web/CHttpRequest.php(122)
110 parent::init(); 111 $this->normalizeRequest(); 112 } 113 114 /** 115 * Normalizes the request data. 116 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. 117 * It also performs CSRF validation if {@link enableCsrfValidation} is true. 118 */ 119 protected function normalizeRequest() 120 { 121 // normalize request 122 if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) 123 { 124 if(isset($_GET)) 125 $_GET=$this->stripSlashes($_GET); 126 if(isset($_POST)) 127 $_POST=$this->stripSlashes($_POST); 128 if(isset($_REQUEST)) 129 $_REQUEST=$this->stripSlashes($_REQUEST); 130 if(isset($_COOKIE)) 131 $_COOKIE=$this->stripSlashes($_COOKIE); 132 } 133 134 if($this->enableCsrfValidation)
#0 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/web/CHttpRequest.php(122): CApplication->handleError(8192, "Function get_magic_quotes_gpc() is deprecated", "/home/2/r/restaurantfauna/craft/app/framework/web/CHttpRequest.p...", 122, ...) 117 * It also performs CSRF validation if {@link enableCsrfValidation} is true. 118 */ 119 protected function normalizeRequest() 120 { 121 // normalize request 122 if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) 123 { 124 if(isset($_GET)) 125 $_GET=$this->stripSlashes($_GET); 126 if(isset($_POST)) 127 $_POST=$this->stripSlashes($_POST); |
#1 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/web/CHttpRequest.php(111): CHttpRequest->normalizeRequest() 106 * the user request data. 107 */ 108 public function init() 109 { 110 parent::init(); 111 $this->normalizeRequest(); 112 } 113 114 /** 115 * Normalizes the request data. 116 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. |
#2 |
+
–
/home/2/r/restaurantfauna/craft/app/services/HttpRequestService.php(40): CHttpRequest->init() 35 /** 36 * Init 37 */ 38 public function init() 39 { 40 parent::init(); 41 42 // Get the normalized path. 43 $path = $this->getNormalizedPath(); 44 45 // Get the path segments |
#3 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/base/CModule.php(387): Craft\HttpRequestService->init() 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } 392 |
#4 |
+
–
/home/2/r/restaurantfauna/craft/app/etc/web/WebApp.php(592): CModule->getComponent("request", true) 587 { 588 $component = parent::getComponent($id, false); 589 590 if (!$component && $createIfNull) 591 { 592 $component = parent::getComponent($id, true); 593 $this->_attachEventListeners($id); 594 } 595 596 return $component; 597 } |
#5 |
+
–
/home/2/r/restaurantfauna/craft/app/etc/web/WebApp.php(106): Craft\WebApp->getComponent("request") 101 // Attach our Craft app behavior. 102 $this->attachBehavior('AppBehavior', new AppBehavior()); 103 104 // Initialize Cache, HttpRequestService and LogRouter right away (order is important) 105 $this->getComponent('cache'); 106 $this->getComponent('request'); 107 $this->getComponent('log'); 108 109 // So we can try to translate Yii framework strings 110 craft()->coreMessages->attachEventHandler('onMissingTranslation', array('Craft\LocalizationHelper', 'findMissingTranslation')); 111 |
#6 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/base/CApplication.php(165): Craft\WebApp->init() 160 161 $this->configure($config); 162 $this->attachBehaviors($this->behaviors); 163 $this->preloadComponents(); 164 165 $this->init(); 166 } 167 168 169 /** 170 * Runs the application. |
#7 |
+
–
/home/2/r/restaurantfauna/craft/app/index.php(194): CApplication->__construct(array("import" => array("application.framework.cli.commands.*", "application.framework.console.*", "application.framework.logging.CLogger", "application.lib.*"), "componentAliases" => array("app.assetsourcetypes.BaseAssetSourceType", "app.assetsourcetypes.GoogleCloudAssetSourceType", "app.assetsourcetypes.LocalAssetSourceType", "app.assetsourcetypes.RackspaceAssetSourceType", ...), "components" => array("db" => array("driverMap" => array("mysql" => "Craft\MysqlSchema"), "class" => "Craft\DbConnection"), "config" => array("class" => "Craft\ConfigService"), "i18n" => array("class" => "Craft\LocalizationService"), "formatter" => array("class" => "CFormatter"), ...), "params" => array("adminEmail" => "admin@website.com"), ...)) 189 // Load the full config 190 $config = require CRAFT_APP_PATH.'etc/config/main.php'; 191 192 // Initialize Craft\WebApp this way so it doesn't cause a syntax error on PHP < 5.3 193 $appClass = '\Craft\WebApp'; 194 $app = new $appClass($config); 195 196 $app->run(); |
#8 |
+
–
/home/2/r/restaurantfauna/public/english/index.php(14): require_once("/home/2/r/restaurantfauna/craft/app/index.php") 09 if (!is_file($path)) 10 { 11 exit('Could not find your craft/ folder. Please ensure that <strong><code>$craftPath</code></strong> is set correctly in '.__FILE__); 12 } 13 14 require_once $path; |