Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _internal/DeerLister.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ function __construct()
$this->twig = new Environment($loader);

// load config
if (file_exists("_internal/config.toml"))
if (file_exists("config.toml"))
{
$this->config = Toml::Parse(file_get_contents("_internal/config.toml"));
$this->config = Toml::Parse(file_get_contents("config.toml"));
}

// Convert a size in byte to something more diggest
Expand Down
2 changes: 1 addition & 1 deletion _internal/config.toml → config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Prevent user to see and access files and folder
forbidden = [ "_internal", "vendor" ]
forbidden = [ "_internal", "vendor", "config.toml" ]

## Hide a folder from the user but doesn't prevent access
hidden = []
Expand Down