LCStoreStaticArray: create cache directory when it doesn't exist
authorEdward Chernenko <edwardspec@gmail.com>
Mon, 25 Jun 2018 15:40:25 +0000 (18:40 +0300)
committerEdward Chernenko <edwardspec@gmail.com>
Mon, 25 Jun 2018 15:40:25 +0000 (18:40 +0300)
commit86cf01d433c7f5d99755072dd63139ed8969d3a4
tree1209b4941b85ebdfb5f070a2ac7d7023f4759a22
parentfd414914c2f880b4d1c214537e64ab12b8070a99
LCStoreStaticArray: create cache directory when it doesn't exist

Array store (LCStoreStaticArray) should behave as standard LCStoreCDB,
creating the target directory when it doesn't exist.

This fixes unexpected "No such file or directory" errors when
replacing 'files' with 'array' in $wgLocalisationCacheConf['store'].

Change-Id: Ie49cf03ca93ac47fc98665de36e6207bef287193
includes/cache/localisation/LCStoreStaticArray.php