Skip to content

Commit

Permalink
switch to prod mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Xie committed Dec 15, 2018
1 parent f955351 commit 0c0174f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/index.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
// defined('YII_DEBUG') or define('YII_DEBUG', true);
// defined('YII_ENV') or define('YII_ENV', 'dev');

require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
Expand Down

0 comments on commit 0c0174f

Please sign in to comment.