We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a022f6 commit b32c72cCopy full SHA for b32c72c
pub/get.php
@@ -49,8 +49,10 @@
49
if (file_exists($configCacheFile) && is_readable($configCacheFile)) {
50
$config = json_decode(file_get_contents($configCacheFile), true);
51
52
- //checking update time
53
- if (filemtime($configCacheFile) + $config['update_time'] > time()) {
+ // Checking update time
+ if (isset($config['update_time'], $config['media_directory'], $config['allowed_resources'])
54
+ && filemtime($configCacheFile) + $config['update_time'] > time()
55
+ ) {
56
$mediaDirectory = $config['media_directory'];
57
$allowedResources = $config['allowed_resources'];
58
0 commit comments