X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/9a9c9a8bf83241c193c5bef6361d41893e72dfd3..2a04a560f1c105b082acd42dd8a61dfdec3da6d2:/f.php?ds=inline diff --git a/f.php b/f.php index d94b55b..be7ce41 100644 --- a/f.php +++ b/f.php @@ -24,7 +24,7 @@ require(JIRAFEAU_ROOT . 'lib/functions.php'); require(JIRAFEAU_ROOT . 'lib/lang.php'); if (!isset($_GET['h']) || empty($_GET['h'])) { - header('Location: ' . $cfg['web_root']); + header('Location: ./'); exit; } @@ -39,22 +39,15 @@ $link_name = $_GET['h']; if (!preg_match('/[0-9a-zA-Z_-]+$/', $link_name)) { require(JIRAFEAU_ROOT.'lib/template/header.php'); - echo '
' . t('Sorry, the requested file is not found') . '
' . t('FILE_404') . '
' . t('Sorry, the requested file is not found') . + echo '
' . t('FILE_404') . '
'.t('File not available.'). + echo '
'.t('FILE_NOT_AVAIL'). '
'. - t('The time limit of this file has expired.') . ' ' . - t('File has been deleted.') . + t('FILE_EXPIRED') . ' ' . + t('FILE_DELETED') . '
' . t('Sorry, the requested file is not found') . + echo '
' . t('FILE_404') . '