- Splitted cronard definitions
- Added TMP_PATH env var - Added support for Events from attributes - Added Negundo client support
This commit is contained in:
1 parent
946281c884
commit
f482c19df5
23 files changed
+163
-82
No files matched your search
+1
-1
@@ -61,7 +61,7 @@ class Kernel {
|
||||
Dotenv::create(getenv("PROJECT_PATH"))->load();
|
||||
|
||||
// Override using headers
|
||||
if ( ( $keys = getenv('KEYS') ) && ( $auth = $_SERVER["HTTP_X_DEV_AUTH"] ) && in_array($auth, explode(',', $keys)) ) {
|
||||
if ( ( $keys = getenv('KEYS') ) && ( $auth = $_SERVER["HTTP_X_DEV_AUTH"] ?? null ) && in_array($auth, explode(',', $keys)) ) {
|
||||
foreach (['APP_ENV', 'DEBUG',] as $env) {
|
||||
if (null !== $value = $_SERVER["HTTP_X_$env"] ?? null) {
|
||||
static::putenv($env, $value);
|
||||
|
||||
Reference in new issue
Block a user