X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/96707e02b8b24054e0827eaf169cc88504a1e78c..1a41ef82ac7e1a30134e471f73e9a8d0e204f2a6:/f.php?ds=sidebyside 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') . '