mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-19 06:28:01 +00:00
moved config to extra file so you can update without re-writing your config every time. Just don't forget to reame it
This commit is contained in:
20
inc/example.config.inc.php
Normal file
20
inc/example.config.inc.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
// shall we log all uploaders IP addresses?
|
||||
define('LOG_UPLOADER', true);
|
||||
|
||||
//how many resizes may one image have?
|
||||
//-1 = infinite
|
||||
//0 = none
|
||||
define('MAX_RESIZED_IMAGES',20);
|
||||
|
||||
//when the user requests a resize. Can the resized image be bigger than the original?
|
||||
define('ALLOW_BLOATING', false);
|
||||
|
||||
//Force a specific domain for this server. If set to false, will autodetect.
|
||||
//Format: https://your.domain.name/
|
||||
define('FORCE_DOMAIN', false);
|
||||
|
||||
//Shall errors be displayed to the user?
|
||||
//For dev environments: true, in production: false
|
||||
define('SHOW_ERRORS', false);
|
||||
Reference in New Issue
Block a user