1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 23:51:29 +00:00

abs_to_rel_path: removed

This commit is contained in:
Andrew Dolgov
2017-05-04 15:28:21 +03:00
parent 4a0da0e5bf
commit 904aff7667

View File

@@ -2640,13 +2640,13 @@
} }
function abs_to_rel_path($dir) { /*function abs_to_rel_path($dir) {
$tmp = str_replace(dirname(__DIR__), "", $dir); $tmp = str_replace(dirname(__DIR__), "", $dir);
if (strlen($tmp) > 0 && substr($tmp, 0, 1) == "/") $tmp = substr($tmp, 1); if (strlen($tmp) > 0 && substr($tmp, 0, 1) == "/") $tmp = substr($tmp, 1);
return $tmp; return $tmp;
} }*/
function get_upload_error_message($code) { function get_upload_error_message($code) {