1ff1c1494293ebb191f016ca3a3d92e9acb3a282
[gwvp.git] / www / config-dist.php
1 <?php
2
3 // this config file is going to reduce down to just db connectivity - thats all
4 // all other config will be kept in the db, but not just yet
5
6 // the config file, this is as exciting as it gets really
7 $repo_base = "/some/path/to/a/location/where/repos/are/stored";
8 $lib_base = "../gwvplib/"; // generally this will be correct
9 $data_directory = "/some/path/to/a/location/where/the/data/the/website/uses/can/be/stored";
10 $db_type = "sqlite"; // could be mysql or pgsql - but not yet
11 $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
12 $db_host = "";
13 $db_username = "";
14 $db_password = "";
15
16 ?>