GraphiQL in Backend

This commit is contained in:
Gogs
2021-06-02 15:46:20 +02:00
parent e7d7d18f77
commit a65593b4f9
24 changed files with 61895 additions and 617 deletions
+11 -11
View File
@@ -1,16 +1,16 @@
<?php
if(!function_exists("join_paths")) {
function join_paths()
{
$paths = array();
if (!function_exists('join_paths')) {
function join_paths()
{
$paths = [];
foreach (func_get_args() as $arg) {
if ($arg !== '') {
$paths[] = $arg;
}
}
return preg_replace('#/+#', '/', join('/', $paths));
foreach (func_get_args() as $arg) {
if ($arg !== '') {
$paths[] = $arg;
}
}
return preg_replace('#/+#', '/', join('/', $paths));
}
}