Skip to content

Commit fe16c32

Browse files
author
Fredrick Peter
committed
Global config error fix
1 parent f38508f commit fe16c32

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Traits/FileTrait.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ public function globalConfig($message = [], $config = [], $class = [])
114114
'class' => $class,
115115
];
116116

117-
define('TAME_FILE_CONFIG', $default);
117+
if(!defined('TAME_FILE_CONFIG')){
118+
define('TAME_FILE_CONFIG', $default);
119+
}
120+
118121
}
119122
}
120123

0 commit comments

Comments
 (0)