From f2ba5a4d7f9c485af2d8db25913a6ce9e8289c45 Mon Sep 17 00:00:00 2001 From: Beu Date: Wed, 23 Oct 2019 17:22:25 +0200 Subject: [PATCH] Add support of pretty url --- conf/config.sample.php | 1 + front.php | 8 ++++---- index.php | 15 +++++++++++++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/conf/config.sample.php b/conf/config.sample.php index d8943e5..f0a865d 100644 --- a/conf/config.sample.php +++ b/conf/config.sample.php @@ -4,4 +4,5 @@ define('_HTTP_DOMAIN','localhost:8080'); // domain/IP with port if needed define('_HTTP_PATH','/'); define('_SIZE_LIMIT','2000000'); // in bytes + define('_PRETTY_URL', false); ?> \ No newline at end of file diff --git a/front.php b/front.php index cd9b744..0c9ec0c 100644 --- a/front.php +++ b/front.php @@ -31,12 +31,12 @@ Drag and Drop your file or