@@ -7,6 +7,7 @@
/app/cache/**/*.lock
/app/cache/**/*.tmp
/app/log/*
+/ext/*
/public/img/avatars/*
/public/img/og/*
/public/.htaccess
@@ -921,4 +921,22 @@ class Update extends Admin
return null;
}
+
+ /**
+ * rev.69 to rev.70
+ */
+ protected function stageNumber69(array $args): ?int
+ {
+ $coreConfig = new CoreConfig($this->configFile);
+ $coreConfig->add(
+ 'shared=>%DIR_EXT%',
+ '\'%DIR_ROOT%/ext\'',
+ '%DIR_VIEWS%'
+ );
+ $coreConfig->save();
+ return null;
+ }
@@ -84,6 +84,7 @@ return [
'%DIR_LANG%' => '%DIR_APP%/lang',
'%DIR_LOG%' => '%DIR_APP%/log',
'%DIR_VIEWS%' => '%DIR_APP%/templates',
+ '%DIR_EXT%' => '%DIR_ROOT%/ext',
'DB' => [
'class' => \ForkBB\Core\DB::class,