www/database.php
[monitor.git] / www / database.php
index 070be1f..ce12c8e 100644 (file)
@@ -1,8 +1,10 @@
 
 <?php 
 
+# TODO: clean up this aweful hack.
+system("/usr/share/monitor-server/phpconfig.py > /var/www/cgi-bin/monitor/monitorconfig.php");
 include 'monitorconfig.php';
-define("PICKLE_PATH", MONITOR_DATA_ROOTWEB);
+define("PICKLE_PATH", MONITOR_DATA_ROOT);
 
 class Pickle
 {