X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/6b28d8973d9d57cae8a4d1f52ec5556cbfce1840..bbc830990c1a38deceae30553dd1f08def3a1c92:/script.php?ds=sidebyside diff --git a/script.php b/script.php index 2409f1b..1d420b6 100755 --- a/script.php +++ b/script.php @@ -25,7 +25,7 @@ define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/'); -require (JIRAFEAU_ROOT . 'lib/config.php'); +require (JIRAFEAU_ROOT . 'lib/config.original.php'); require (JIRAFEAU_ROOT . 'lib/settings.php'); require (JIRAFEAU_ROOT . 'lib/functions.php'); require (JIRAFEAU_ROOT . 'lib/lang.php'); @@ -319,7 +319,7 @@ elseif (isset ($_GET['h'])) if (isset ($_GET['d'])) $d = $_GET['d']; - if (!preg_match ('/[0-9a-zA-Z_-]{22}$/', $link_name)) + if (!preg_match ('/[0-9a-zA-Z_-]+$/', $link_name)) { echo "Error"; exit;