-
-
Save webrgp/b1bcea49c508640df6363f1cead3d9b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use craft\test\TestSetup; | |
ini_set('date.timezone', 'UTC'); | |
// Use the current installation of Craft | |
define('CRAFT_STORAGE_PATH', __DIR__ . '/_craft/storage'); | |
define('CRAFT_TEMPLATES_PATH', __DIR__ . '/_craft/templates'); | |
define('CRAFT_CONFIG_PATH', __DIR__ . '/_craft/config'); | |
define('CRAFT_MIGRATIONS_PATH', __DIR__ . '/_craft/migrations'); | |
define('CRAFT_TRANSLATIONS_PATH', __DIR__ . '/_craft/translations'); | |
define('CRAFT_VENDOR_PATH', dirname(__DIR__).'/vendor'); | |
TestSetup::configureCraft(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment