Created
July 9, 2019 12:59
-
-
Save ryanirelan/31dda0c756ca12a2ebb222cc5d83ff0b to your computer and use it in GitHub Desktop.
This file contains hidden or 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