12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- /**
- * scientia
- *
- * Copyright 2022 Johannes Keßler
- *
- * https://www.bananas-playground.net/projekt/scientia/
- *
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
- *
- * You should have received a copy of the
- * COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
- * along with this program. If not, see http://www.sun.com/cddl/cddl.html
- */
- # set to true if you need debug messages in error log file
- const DEBUG = true;
- # set to ture if you need query log messages in error log file.
- const QUERY_DEBUG = true;
- # timezone settings
- const TIMEZONE = 'Europe/Berlin';
- # language settings
- const FRONTEND_LANGUAGE = 'en';
- # path settings
- const PATH_ABSOLUTE = '/path/to/scientia/webroot';
- const PATH_SYSTEMOUT = PATH_ABSOLUTE . '/systemout';
- const PATH_WEBROOT = '/code/scientia/webroot';
- # Installation Domain. Webrootpath will be added automatically
- const INSTALL_URL = 'http://www.example.tld';
- # database config
- const DB_HOST = '127.0.0.1';
- const DB_USERNAME = 'user';
- const DB_PASSWORD = 'test';
- const DB_NAME = 'scientia';
- const DB_PREFIX = 'sc'; # a _ is added automatically as separation
- # username and password for authentication
- const FRONTEND_USERNAME = 'user';
- const FRONTEND_PASSWORD = 'pass';
- # API config
- # this is your installation secret. Could be anything.
- # Think of it as a key. Change it often to avoid any abuse.
- # The description will be used in the log files
- const UPLOAD_SECRET = array(
- 'PLEASE CHANGE YOUR SECRET' => 'Your description for this secret #1',
- 'PLEASE CHANGE YOUR SECRET' => 'Your description for this secret #2'
- );
|