. * * config.inc * * Homogram configuration settings. * * @author Daniele Bonini * @copyrights (c) 2021, 2024, 5 Mode */ define('DEBUG', true); define('APP_NAME', "Homogram"); // password: yourpassword // salt: yoursalt define('APP_HASH', ""); define('APP_SPLASH', true); define('APP_PATH', "/var/www/YourWebApp/Public/static"); define('APP_DATA_PATH', "/var/www/YourWebApp/Private/data"); define('APP_SCRIPT_PATH', "/var/www/YourWebApp/Private/scripts"); define('APP_ERROR_PATH', "/var/www/YourWebApp/Private/error"); define('APP_SALT', "yoursalt"); define('APP_REPO_PATH', "/var/www/YourWebApp/Public/static/HGRepo"); // Default Locale, in two letters format define('APP_LOCALE', "EN"); // Default Context: 'PRIVATE' or 'PUBLIC' define('APP_DEFAULT_CONTEXT', "PUBLIC"); // Last undescore check parsing the image title define('APP_LAST_UNDERSCORE_CHECK', false); define('CMDLINE_VALIDCMDS', "~|privatify|publicify|del|makedir|refresh|openpic|"); $CONFIG = [ 'DEBUG' => true, 'APP' => [ 'NAME' => "Homegram", 'HASH' => "", 'SPLASH' => true, 'PATH' => "/var/www/YourWebApp/Public/static", 'DATA_PATH' => "/var/www/YourWebApp/Private/data", 'SCRIPT_PATH' => "/var/www/YourWebApp/Private/scripts", 'ERROR_PATH' => "/var/www/YourWebApp/Private/error", 'SALT' => "yoursalt", 'REPO_PATH' => "/var/www/YourWebApp/Public/static/HGRepo", // Default Locale, in two letters format 'LOCALE' => "EN", // Default Context: 'PRIVATE' or 'PUBLIC' 'DEFAULT_CONTEXT' => "PUBLIC", // Last undescore check parsing the image title 'LAST_UNDERSCORE_CHECK' => false ], 'CMDLINE' => [ 'VALIDCMDS' => "~|privatify|publicify|del|makedir|refresh|openpic|" ] ]; $LOCALE = [ 'IT' => [ 'Monday' => 'Lunedi', 'You are in' => "Sei in", ' as ' => " come ", 'owner' => "owner", 'guest' => "guest", 'Parent' => "Padre", 'Add' => "Aggiungi", 'folder' => "cartella", ' Go ' => " Vai ", 'Hash me' => "Hashmi", 'Upload' => "Carica" ] ];