1
0

/about/ + extendedGitGraph

This commit is contained in:
2018-01-21 15:29:01 +01:00
parent d77954ddae
commit 28ae8beb2d
26 changed files with 1346 additions and 48 deletions

19
www/extern/egh/Utils.php vendored Normal file
View File

@@ -0,0 +1,19 @@
<?php
class Utils
{
public static function sharpFormat($str, $args)
{
foreach ($args as $key => $val)
{
$str = str_replace('{'.$key.'}', $val, $str);
}
return $str;
}
public static function startsWith($haystack, $needle)
{
$length = strlen($needle);
return (substr($haystack, 0, $length) === $needle);
}
}