Updates config file

main
Yasen Pramatarov 2024-08-13 14:24:56 +03:00
parent 9d3a4557c1
commit 2cdfbe6e86
2 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -1,17 +1,18 @@
<?php
$config = [
'domain' => '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
];
?>