summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/base.php b/lib/base.php
index d96f91ddcd4..26e88979a48 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -114,8 +114,6 @@ class OC {
public static string $configDir;
- public static int $VERSION_MTIME = 0;
-
/**
* requested app
*/
@@ -610,10 +608,9 @@ class OC {
self::$CLI = (php_sapi_name() == 'cli');
- // Add default composer PSR-4 autoloader
+ // Add default composer PSR-4 autoloader, ensure apcu to be disabled
self::$composerAutoloader = require_once OC::$SERVERROOT . '/lib/composer/autoload.php';
- OC::$VERSION_MTIME = filemtime(OC::$SERVERROOT . '/version.php');
- self::$composerAutoloader->setApcuPrefix('composer_autoload_' . md5(OC::$SERVERROOT . '_' . OC::$VERSION_MTIME));
+ self::$composerAutoloader->setApcuPrefix(null);
try {
self::initPaths();