Skip to content

Commit

Permalink
try with define
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 committed Mar 1, 2024
1 parent 6579da7 commit cff0508
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/ci/files/public/index_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

include __DIR__ . "/../vendor/autoload_runtime.php";

define('PIMCORE_PROJECT_ROOT', __DIR__ . '/..');
define('APP_ENV', 'test');

return function (array $context) {
\Pimcore\Bootstrap::setProjectRoot();
define('PIMCORE_PROJECT_ROOT', __DIR__ . '/..');
define('APP_ENV', 'test');
define('APP_DEBUG', true);

\Pimcore\Bootstrap::bootstrap();

$request = Request::createFromGlobals();
Expand Down

0 comments on commit cff0508

Please sign in to comment.