diff --git a/README.md b/README.md index 6d87de5..ce8abb3 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,8 @@ cd jilo-web ## config -- edit index.php and set the system path to the jilo-web.conf.php - edit jilo-web.conf.php and set all the variables correctly -- "database" is the sqlite db file for jilo-web itself, it goes to `app/jilo-web.db`, create it with +- "sqlite_file" is the sqlite db file for jilo-web itself, it goes to `app/jilo-web.db`, create it with ```bash cd app cat doc/jilo-web.schema | sqlite3 jilo-web.db diff --git a/app/config/jilo-web.conf.php b/app/config/jilo-web.conf.php index 3eb2f16..ffedbbb 100644 --- a/app/config/jilo-web.conf.php +++ b/app/config/jilo-web.conf.php @@ -1,17 +1,18 @@ 'localhost', - 'folder' => '/jilo-web/', - 'jilo_database' => '../../jilo/jilo.db', + // edit to customize + 'domain' => 'localhost', // domain for the web app + 'folder' => '/jilo-web/', // subfolder for the web app, if any + 'jilo_database' => '../../jilo/jilo.db', // database with logs from Jilo - 'db_type' => 'sqlite', + 'registration_enabled' => true, // set to false to disable new registrations + 'login_message' => '', // will be displayed on login screen - 'sqlite_file' => '../app/jilo-web.db', - - 'registration_enabled' => true, - 'login_message' => '', - 'version' => '0.1.1', + // edit only if needed for tests or debugging + 'db_type' => 'sqlite', // DB type for the web app, currently only "sqlite" is used + 'sqlite_file' => '../app/jilo-web.db', // default is ../app/jilo-web.db + 'version' => '0.1.1', // system info ]; ?>