Skip to content

Commit

Permalink
Add config default
Browse files Browse the repository at this point in the history
for the new cache folder use.
To prevent crashes.
  • Loading branch information
Pysis868 committed May 8, 2023
1 parent 017f918 commit 5954b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function get_config($key, $default = null, $type = "string") {
!file_exists(CONFIGFILE) and die('Project `.env` file not found and must be provided.');

load_config();
$cacheFolderRootPath = get_config("cacheFolderRootPath");
$cacheFolderRootPath = get_config("cacheFolderRootPath", sys_get_temp_dir());
$cacheFolder = $cacheFolderRootPath."/Tingle";

# Database
Expand Down

0 comments on commit 5954b95

Please sign in to comment.