diff --git a/include/common.inc.php b/include/common.inc.php index 78ae39dcd..70d465d08 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -66,7 +66,8 @@ $filter = array(); foreach( array( - 'gzopen' + 'gzopen', + 'str_starts_with' ) as $func) { if (!function_exists($func)) diff --git a/include/php_compat/str_starts_with.php b/include/php_compat/str_starts_with.php new file mode 100644 index 000000000..4fe793749 --- /dev/null +++ b/include/php_compat/str_starts_with.php @@ -0,0 +1,8 @@ +