Initial Commit

This commit is contained in:
Kilian Hofmann
2021-06-01 19:54:59 +02:00
commit 052cbe3038
17 changed files with 1004 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
if(!function_exists("join_paths")) {
function join_paths()
{
$paths = array();
foreach (func_get_args() as $arg) {
if ($arg !== '') {
$paths[] = $arg;
}
}
return preg_replace('#/+#', '/', join('/', $paths));
}
}