some stuff to do with things.
[pengine.git] / lib / lib.php
index 9df80fb..63c697a 100644 (file)
@@ -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