First web gui prototype
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/******************************************************************************
|
||||
* YMS - Yacht Management Software
|
||||
* Copyright (C) 2024 Thomas Hooge
|
||||
*
|
||||
* SPDX-License-Identifier: WTFPL
|
||||
*****************************************************************************/
|
||||
|
||||
// ========== GLOBAL CONSTANTS ================================================
|
||||
|
||||
define('APP_TITLE', 'Yacht Management Software');
|
||||
define('APP_TITLE_SHORT', 'YMS');
|
||||
define('APP_SESSION', 'yms');
|
||||
|
||||
// ========== GLOBAL VARIABLES ================================================
|
||||
|
||||
// database connection
|
||||
$g_db_host = 'localhost';
|
||||
$g_db_username = 'yms';
|
||||
$g_db_password = 'changeme!';
|
||||
$g_db_schema = 'yms';
|
||||
|
||||
// mail settings
|
||||
$g_mailto = 'captain@example.com';
|
||||
$g_mailto_webmaster = 'webmaster@example.com';
|
||||
|
||||
// localization
|
||||
$g_timezone = 'Europe/Berlin';
|
||||
$g_locale = 'de_DE.UTF-8';
|
||||
|
||||
// documents and images
|
||||
$g_doc_basepath = '/var/local/yms';
|
||||
$g_doc_maxsize = 1024*1024*16; // 16 MB
|
||||
|
||||
$g_storage_limit = 1024; // MB
|
||||
|
||||
$g_thumb_size = 120;
|
||||
Reference in New Issue
Block a user