summaryrefslogtreecommitdiffstats
path: root/tests/Bootstrap.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-09 12:36:31 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-09 12:36:31 +0200
commitea7a866f6107d4b50b4a7059f1373035aa12dd23 (patch)
treebf3c2d9f16d098358108f4ad609cf2b068c45ba6 /tests/Bootstrap.php
parent9ac557f2473844f3c2207189f371f827dbaddb71 (diff)
parent580fe8ec482f5df7ca5b91e11b13b72a8f3ed0b8 (diff)
Merge changes from develop
Diffstat (limited to 'tests/Bootstrap.php')
-rw-r--r--tests/Bootstrap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index 5216038c6..1c666d503 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -11,6 +11,7 @@ defined('PROJECT_BASE') OR define('PROJECT_BASE', realpath($dir.'/../').'/');
defined('BASEPATH') OR define('BASEPATH', PROJECT_BASE.'system/');
defined('APPPATH') OR define('APPPATH', PROJECT_BASE.'application/');
defined('VIEWPATH') OR define('VIEWPATH', PROJECT_BASE.'');
+isset($_SERVER['REMOTE_ADDR']) OR $_SERVER['REMOTE_ADDR'] = '127.0.0.1';
// Get vfsStream either via PEAR or composer
foreach (explode(PATH_SEPARATOR, get_include_path()) as $path)