Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
702651c
)
MDL-36120 cachestore_file: Added missing singledirectory check in config check
author
Sam Hemelryk
<sam@moodle.com>
Tue, 6 Nov 2012 21:09:58 +0000
(10:09 +1300)
committer
Sam Hemelryk
<sam@moodle.com>
Tue, 6 Nov 2012 21:09:58 +0000
(10:09 +1300)
cache/stores/file/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/cache/stores/file/lib.php
b/cache/stores/file/lib.php
index
c25536b
..
3e98512
100644
(file)
--- a/
cache/stores/file/lib.php
+++ b/
cache/stores/file/lib.php
@@
-532,6
+532,9
@@
class cachestore_file implements cache_store, cache_is_key_aware {
if (isset($data->autocreate)) {
$config['autocreate'] = $data->autocreate;
}
+ if (isset($data->singledirectory)) {
+ $config['singledirectory'] = $data->singledirectory;
+ }
if (isset($data->prescan)) {
$config['prescan'] = $data->prescan;
}