You are not allowed to access this file. Check frontend_dev.php for more information.
frontend_dev.phpã使ã£ã¦ãããã°ã¢ã¼ãã§ã¢ã¯ã»ã¹ããå ´åã«
You are not allowed to access this file. Check frontend_dev.php for more information.
ã¨ããã¡ãã»ã¼ã¸ã表示ãããã¨ãã®å¯¾å¦æ³ã
ããã©ã«ãã§ã¯ãã¼ã«ã«ç°å¢ä»¥å¤ã¯frontend_dev.phpã使ããªãè¨å®ã«ãªã£ã¦ããã®ã§ãããã解é¤ãã¾ãã
vi web/frontend_dev,php <?php // this check prevents access to debug front controllers that are deployed by accident to production servers. // feel free to remove this, extend it or make something more sophisticated. //ãããããã³ã¡ã³ãã¢ã¦ã //if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1'))) //{ // die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); //} // ããã¾ã§ require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php'); $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true); sfContext::createInstance($configuration)->dispatch();
ããã§ãããã°ã¢ã¼ãã使ããããã«ãªãã¾ãã
symfonyãåãã¦ä½¿ã£ãã¨ãã«ã¤ã¾ã¥ããã®ãæãåºããã®ã§ã¡ã¢ã