isnecure send/receive now works... next, secure
[pengine.git] / lib / lib.php
index 9df80fb..1fde0d7 100644 (file)
@@ -1,5 +1,7 @@
 <?php 
 
+require_once("interComms.php");
+
 // first and foremost, load the plugins
 $basedir = dirname(__FILE__);
 if(is_dir("$basedir/plugins")) {
@@ -16,4 +18,11 @@ if(is_dir("$basedir/plugins")) {
 } else {
        echo "No plugins dir ($basedir/plugins), continuing without\n";
 }
+
+$storeLocation = "$basedir/../store/";
+global $storeLocation;
+
+if(!is_dir($storeLocation)) {
+       mkdir($storeLocation, 0770);
+}
 ?>
\ No newline at end of file