A free, self-hostable news aggregator…
Avoid "PHP Strict Standards" error
Marien Fressinaud2039710d12f8
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.phpindex 5069362b5..d7ee8fe81 100644--- a/lib/Minz/Extension.php+++ b/lib/Minz/Extension.php@@ -159,7 +159,7 @@ class Minz_Extension {* @return the url corresponding to the file.*/public function getFileUrl($filename, $type) {- $dir = end(explode('/', $this->path));+ $dir = substr(strrchr($this->path, '/'), 1);$file_name_url = urlencode($dir . '/static/' . $filename);$absolute_path = $this->path . '/static/' . $filename;