Different installation and displayed directories possible?February 17, 2020 at 8:22pm
Is it possible to have Directory Lister in one directory while the files and folders it'll be displaying is on another? e.g. Directory Lister is installed on /some/Directory-Lister While the directory it'll display is at /some/other/directory
February 17, 2020 at 9:34pm
May 6, 2020 at 2:10pm
Copy index.php to the folder you want to list, comment the iniset open-basedir line, change all _DIR\ references to relative paths pointing to your Directory Lister folder, except the line with 'createInmutable'
Create in the directory you want to show, a folder named "app" and copy inside the folder app/assets from directory lister, not all folders from app, only assets. (I didn't find out where to change the path to the css and js that stayed always referenced to the folder you are calling the app, so I added that folder).
In my case I have Directory Lister in dl folder of root, and I want to search other folder on root. so my index.php edited is:
use App\Bootstrap\AppManager; use DI\ContainerBuilder; use Dotenv\Dotenv;
// Set file access restrictions //iniset('openbasedir', \_DIR_);
// Initialize environment variable handler Dotenv::createImmutable(DIR)->safeLoad();
// Initialize the application $app = (new ContainerBuilder)->addDefinitions( '../dl/app/config/app.php', '../dl/app/config/container.php' )->build()->call(AppManager::class);
// Engage! $app->run();
July 24, 2020 at 1:39pm
More comfortable to modify the css, js, ... laravel style