Skip to content

Commit b6230b7

Browse files
authored
Merge pull request #80 from schmunk42/patch-1
fix undefined variable, when not in YII_ENV_TEST
2 parents d0b40ce + a1f999c commit b6230b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UrlManager.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22
namespace codemix\localeurls;
33

4+
defined('YII2_LOCALEURLS_TEST') || define('YII2_LOCALEURLS_TEST', false);
5+
46
use Yii;
57
use yii\base\InvalidConfigException;
68
use yii\web\Cookie;

0 commit comments

Comments
 (0)