Changeset 12140
- Timestamp:
- 10/11/08 10:53:38 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/task/generator/sfGenerateAppTask.class.php
r10858 r12140 137 137 'ENVIRONMENT' => 'dev', 138 138 'IS_DEBUG' => 'true', 139 'IP_CHECK' => '// this check prevents access to debug front con rollers that are deployed by accident to production servers.'.PHP_EOL.139 'IP_CHECK' => '// this check prevents access to debug front controllers that are deployed by accident to production servers.'.PHP_EOL. 140 140 '// feel free to remove this, extend it or make something more sophisticated.'.PHP_EOL. 141 141 'if (!in_array(@$_SERVER[\'REMOTE_ADDR\'], array(\'127.0.0.1\', \'::1\')))'.PHP_EOL. branches/1.2/lib/task/generator/skeleton/app/web/index.php
r9489 r12140 1 1 <?php 2 2 3 ##IP_CHECK## 3 4 require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');