Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You may also want to supply any of the following variables to override default b
- `HOST_NAME` - (*default:* `localhost`) used as Apache `ServerName`
- `ADMIN_EMAIL` - (*default:* `admin@davical.example.com`) [email displayed on login page and in "From" for password reset emails](https://wiki.davical.org/index.php?title=Configuration/settings/admin_email)
- `TZ` - (*default:* `UTC`) system [timezone name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
- `DAVICAL_DEBUG_ALL` - (*default: none*) set to "true" to enable debug logs for all events

#### DB Creation/Migrations

Expand Down
4 changes: 3 additions & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@
* There are many different types of debug messages (for more details see
* debug-config.php), but this will log them all:
*/
// $c->dbg["ALL"] = 1;
if (getenv("DAVICAL_DEBUG_ALL") == "true") {
$c->dbg["ALL"] = 1;
}

/**
* While the above setting will quickly fill your PHP error log and should best
Expand Down