git.cweiske.de
/
phinde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add site search, highlighting
[phinde.git]
/
src
/
phinde
/
Helper.php
diff --git
a/src/phinde/Helper.php
b/src/phinde/Helper.php
index 4863961f66a0dcc85e5d59c482b355468516655f..0b985217cc1ac3e61d8c033baa646303857e7776 100644
(file)
--- a/
src/phinde/Helper.php
+++ b/
src/phinde/Helper.php
@@
-11,5
+11,14
@@
class Helper
}
return true;
}
+
+ public static function noSchema($url)
+ {
+ return str_replace(
+ array('http://', 'https://'),
+ '',
+ $url
+ );
+ }
}
?>