X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/9a9c9a8bf83241c193c5bef6361d41893e72dfd3..8f56b543a56586eefcb12a73c6b24ef2e252038e:/f.php diff --git a/f.php b/f.php index d94b55b..5fd8575 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') . '