X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/96707e02b8b24054e0827eaf169cc88504a1e78c..cadde9373fc63be94f5d835fa944a5a93862a31a:/f.php 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') . '