Skip to content

Commit

Permalink
Add bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 8, 2024
1 parent 7e6065d commit efdaea9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/craft/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

define('CRAFT_BASE_PATH', __DIR__);
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ parameters:
# https://github.com/craftcms/cms/blob/develop/lib/craft/behaviors/CustomFieldBehavior.php
- lib/craft/behaviors/CustomFieldBehavior.php
bootstrapFiles:
- %currentWorkingDirectory%/bootstrap.php
- lib/craft/bootstrap.php

0 comments on commit efdaea9

Please sign in to comment.