From 477553a6002b3e36a134c7306514fa434927ac6c Mon Sep 17 00:00:00 2001 From: "matth@ultra" Date: Sun, 1 Sep 2024 18:40:17 +0200 Subject: [PATCH] improve defaults --- src/imgsort.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/imgsort.php b/src/imgsort.php index 2cb1f9c..f0b954a 100644 --- a/src/imgsort.php +++ b/src/imgsort.php @@ -2,11 +2,12 @@ // CONFIGURATION // Absolute path to the directory containing all image directories as well as the staging directory // All other paths (in the user interface) are relative to $rootDir - $rootDir = __DIR__ . '/../test/'; + // All paths require trailing slashes! + $rootDir = __DIR__ . '/../images/'; // The URI at which the rootDir will be served - $rootPath = '/test/'; + $rootPath = '/images/'; // Path of the directory containing all the files to be sorted, relative to $rootDir - $stagingDirName = 'staging/'; + $stagingDirName = '.sort/'; // Not configuration anymore!