refactor: extract configuration into config.php
- New config.php.example template (tracked) - config.php git-ignored - index.php loads config.php if present, falls back to defaults
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* phpfilebrowser — Configuration
|
||||
*
|
||||
* Copy this file to config.php and adjust the values.
|
||||
* config.php is git-ignored; config.php.example is tracked.
|
||||
*/
|
||||
|
||||
// ── Directory to browse ─────────────────────────────────────────
|
||||
// Absolute path to the root directory the browser should serve
|
||||
define('ENTRY_POINT', '/var/www');
|
||||
Reference in New Issue
Block a user