Skip to content

Commit 3a5e956

Browse files
authored
Merge pull request #900 from cakephp/issue-899
Don't overwrite App.fullBaseUrl
2 parents 737c108 + 86a1f27 commit 3a5e956

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
require dirname(__DIR__) . '/config/bootstrap.php';
3131

32-
if (empty($_SERVER['HTTP_HOST'])) {
32+
if (empty($_SERVER['HTTP_HOST']) && !Configure::read('App.fullBaseUrl')) {
3333
Configure::write('App.fullBaseUrl', 'http://localhost');
3434
}
3535

0 commit comments

Comments
 (0)