Permalink
Browse files

MDL-30381 Fixed path to the cache directory in installers

This fixes the patch f848c0f introduced
in MDL-29351.
  • Loading branch information...
1 parent fe41ba7 commit 12812ad5da77a672c3798fdd345ca4ae26857f2d @mudrd8mz mudrd8mz committed Nov 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 admin/cli/install.php
  2. +1 −1 install.php
View
@@ -135,7 +135,7 @@
$CFG->httpswwwroot = $CFG->wwwroot;
$CFG->dataroot = str_replace('\\', '/', dirname(dirname(dirname(dirname(__FILE__)))).'/moodledata');
$CFG->tempdir = $CFG->dataroot.'/temp';
-$CFG->cachedir = $CFG->dataroot.'/temp';
+$CFG->cachedir = $CFG->dataroot.'/cache';
$CFG->docroot = 'http://docs.moodle.org';
$CFG->running_installer = true;
$CFG->early_install_lang = true;
View
@@ -166,7 +166,7 @@
$CFG->httpswwwroot = $CFG->wwwroot;
$CFG->dataroot = $config->dataroot;
$CFG->tempdir = $CFG->dataroot.'/temp';
-$CFG->cachedir = $CFG->dataroot.'/temp';
+$CFG->cachedir = $CFG->dataroot.'/cache';
$CFG->admin = $config->admin;
$CFG->docroot = 'http://docs.moodle.org';
$CFG->langotherroot = $CFG->dataroot.'/lang';

0 comments on commit 12812ad

Please sign in to comment.