updates and such
[glcas.git] / lib / lib.php
index 63462fe..6c48c4c 100644 (file)
@@ -4,6 +4,16 @@ require_once("config.php");
 require_once("wsdl.php");
 require_once("www.php");
 require_once("db.php");
+require_once("messages.php");
+require_once("datastore.php");
+require_once("updates.php");
+
+global $VERSION;
+
+$VERSION["main"]["major"] = "0";
+$VERSION["main"]["minor"] = "0";
+$VERSION["main"]["release"] = "0";
+$VERSION["updateurl"]["main"] = "http://localhost/src/eclipse-workspace/glcas/release.txt";
 
 // first and foremost, load the plugins
 $basedir = dirname(__FILE__);
@@ -46,4 +56,7 @@ function urlInterpretter()
                }
        }
 }
+
+$db = db_getDB();
+db_createTable("options", "option_name", "option_value");
 ?>
\ No newline at end of file