Updates config file
parent
9d3a4557c1
commit
2cdfbe6e86
|
@ -62,9 +62,8 @@ cd jilo-web
|
||||||
|
|
||||||
## config
|
## 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
|
- 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
|
```bash
|
||||||
cd app
|
cd app
|
||||||
cat doc/jilo-web.schema | sqlite3 jilo-web.db
|
cat doc/jilo-web.schema | sqlite3 jilo-web.db
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$config = [
|
$config = [
|
||||||
'domain' => 'localhost',
|
// edit to customize
|
||||||
'folder' => '/jilo-web/',
|
'domain' => 'localhost', // domain for the web app
|
||||||
'jilo_database' => '../../jilo/jilo.db',
|
'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',
|
// edit only if needed for tests or debugging
|
||||||
|
'db_type' => 'sqlite', // DB type for the web app, currently only "sqlite" is used
|
||||||
'registration_enabled' => true,
|
'sqlite_file' => '../app/jilo-web.db', // default is ../app/jilo-web.db
|
||||||
'login_message' => '',
|
'version' => '0.1.1', // system info
|
||||||
'version' => '0.1.1',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue