Browse Source

[FIX] installation routine cache

experimental
Georgi Hristov 2 years ago
parent
commit
4801eaa941
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      include/module_manager.php

+ 1
- 2
include/module_manager.php View File

@@ -865,8 +865,7 @@ class ModuleManager {
// all commons already loaded by FORCE_CACHE_COMMON_FILES
if ($cached) return;
$commons_with_code = Cache::get('commons_with_code');
if ($commons_with_code === null) {
if (!$commons_with_code = Cache::get('commons_with_code')) {
$commons_with_code = array();
foreach ($installed_modules as $row) {
$module = $row['name'];


Loading…
Cancel
Save