X-Git-Url: https://git.p6c8.net/jirafeau/mojo42.git/blobdiff_plain/6550c22fe503f109fc5e30ffee0d8445f51862bc..ba6f06965a4d9846e23d99a0e9f74b1361c18c40:/pub/file.php
diff --git a/pub/file.php b/pub/file.php
deleted file mode 100644
index 1abbec5..0000000
--- a/pub/file.php
+++ /dev/null
@@ -1,122 +0,0 @@
-
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see
Error 404: Not Found
' . _('The time limit of this file has expired. It has been deleted.') . '
Error 403: Forbidden
'; - require(JYRAPHE_ROOT . 'lib/template/footer.php'); - exit; - } - } - } - - header('Content-Length: ' . $file_size); - header('Content-Type: ' . $mime_type); - if(!jyraphe_is_viewable($mime_type)) { - header('Content-Disposition: attachment; filename="' . $file_name . '"'); - } - readfile(VAR_FILES . $file_name); - - if($link_name[0] == 'O') { - unlink($link_file); - $new_name = jyraphe_detect_collision($file_name, VAR_TRASH); - rename(VAR_FILES . $file_name, VAR_TRASH . $new_name); - } - exit; - } else { - header("HTTP/1.0 404 Not Found"); - - require(JYRAPHE_ROOT . 'lib/template/header.php'); - echo 'Error 404: Not Found