started some input validation code and unit tests for it
[gwvp.git] / www / config-dist.php
index 51b9ddc..1ff1c14 100644 (file)
@@ -1,11 +1,15 @@
 <?php
 
+// this config file is going to reduce down to just db connectivity - thats all
+// all other config will be kept in the db, but not just yet
+
 // the config file, this is as exciting as it gets really
-$repo_base = "/tmp/gwvp-repos/";
-$lib_base = "../gwvplib/";
-$data_directory = "../data";
+$repo_base = "/some/path/to/a/location/where/repos/are/stored";
+$lib_base = "../gwvplib/"; // generally this will be correct
+$data_directory = "/some/path/to/a/location/where/the/data/the/website/uses/can/be/stored";
 $db_type = "sqlite"; // could be mysql or pgsql - but not yet
 $db_name = "$data_directory/gwvp.db"; // just a file for sqlite, for anything else is a pdo url without driver, i.e. host=localhost;dbname=whatever;user=asdf;password=asdf
+$db_host = "";
 $db_username = "";
 $db_password = "";