fix: add back custom safe_define function
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9d4410cd25
commit
244e640e2e
@ -1,4 +1,10 @@
|
||||
<?php
|
||||
function safe_define($name, $value) {
|
||||
if (!defined($name)) {
|
||||
return define($name, $value);
|
||||
}
|
||||
}
|
||||
|
||||
safe_define('FRESHRSS_USERAGENT', 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')');
|
||||
safe_define('PHP_COMPRESSION', false);
|
||||
safe_define('COPY_SYSLOG_TO_STDERR', true);
|
||||
|
Reference in New Issue
Block a user