Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Commit 610b914

Browse files
authored
Merge pull request #9 from codeigniter4projects/develop
Update master for release
2 parents 5b0a776 + faf735d commit 610b914

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/tests/_support/bootstrap.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
define('PROJECTSUPPORTPATH', realpath(__DIR__) . DIRECTORY_SEPARATOR);
2727
define('TESTPATH', realpath(PROJECTSUPPORTPATH . '../') . DIRECTORY_SEPARATOR);
2828

29+
// Let's see if an app/Common.php file exists
30+
if (file_exists(APPPATH . 'Common.php'))
31+
{
32+
require_once APPPATH . 'Common.php';
33+
}
34+
35+
// Require system/Common.php
36+
require_once SYSTEMPATH . 'Common.php';
37+
2938
// Set environment values that would otherwise stop the framework from functioning during tests.
3039
if (! isset($_SERVER['app.baseURL']))
3140
{

0 commit comments

Comments
 (0)