Skip to content

Commit

Permalink
Merge pull request #18 from madmadmad/1.1.3.1
Browse files Browse the repository at this point in the history
forgot craft base file updates
  • Loading branch information
Andrew Menich authored Aug 15, 2020
2 parents 6f45218 + e3357f1 commit 58ab21d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "madhouse/craft-starter",
"description": "A Craft CMS boilerplate.",
"version": "1.1.3",
"version": "1.1.3.1",
"authors": [
{
"name": "Madhouse",
Expand Down
4 changes: 2 additions & 2 deletions craft
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ define('CRAFT_VENDOR_PATH', CRAFT_BASE_PATH.'/vendor');
require_once CRAFT_VENDOR_PATH.'/autoload.php';

// Load dotenv?
if (file_exists(CRAFT_BASE_PATH.'/.env')) {
(new Dotenv\Dotenv(CRAFT_BASE_PATH))->load();
if (class_exists('Dotenv\Dotenv') && file_exists(CRAFT_BASE_PATH.'/.env')) {
Dotenv\Dotenv::create(CRAFT_BASE_PATH)->load();
}

// Load and run Craft
Expand Down

0 comments on commit 58ab21d

Please sign in to comment.