X-Git-Url: http://git.pjr.cc/?p=pengine.git;a=blobdiff_plain;f=lib%2Flib.php;fp=lib%2Flib.php;h=63c697a1e095406ac650f92253f3a4d2446f5fcb;hp=9df80fbeb208adf83877a662bff1b5c0fbeeb857;hb=c0b76ea046b221cafdc183a2a79d31ff9400ed19;hpb=08ca5871cb99556f82632d366ebbca6b94a6021a diff --git a/lib/lib.php b/lib/lib.php index 9df80fb..63c697a 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -16,4 +16,11 @@ if(is_dir("$basedir/plugins")) { } else { echo "No plugins dir ($basedir/plugins), continuing without\n"; } + +$storeLocation = "$basedir/../store/"; +global $storeLocation; + +if(!isdir($storeLocation)) { + mkdir($storeLocation, 0770); +} ?> \ No newline at end of file