define('UGUU_DB_PASS', 'NULL');
/** Log IP of uploads */
-define('LOG_IP', 'no');
+define('LOG_IP', 'false');
+
+/** Dont upload a file already in the DB */
+define('ANTI_DUPE', 'false');
/*
* File system location where to store uploaded files
/*
* Maximum number of iterations while generating a new filename
*
- * Pomf uses an algorithm to generate random filenames. Sometimes a file may
+ * Uguu uses an algorithm to generate random filenames. Sometimes a file may
* exist under a randomly generated filename, so we count tries and keep trying.
* If this value is exceeded, we give up trying to generate a new filename.
*
*
* @param string UGUU_URL URI with trailing delimiter
*/
-define('UGUU_URL', 'https://url.to.subdomain.where.files.will.be.served.com');
+define('UGUU_URL', 'https://url.to.subdomain.where.files.will.be.served.com/');
/*
* URI for filename generation
/*
* Filtered mime types
- * @param string[] $FILTER_MIME allowed/blocked mime types
*/
-//$FILTER_MIME = array("application/octet-stream", "application/msword", "text/html", "application/x-dosexec", "application/zip", "application/java", "application/java-archive", "application/pdf", "application/x-executable");
-//$FILTER_EXT = array("exe", "scr", "com", "vbs", "bat", "cmd", "htm", "html", "zip", "jar", "msi", "apk", "pdf");
-
define('CONFIG_BLOCKED_EXTENSIONS', serialize(['exe', 'scr', 'com', 'vbs', 'bat', 'cmd', 'htm', 'html', 'jar', 'msi', 'apk', 'phtml', 'svg']));
define('CONFIG_BLOCKED_MIME', serialize(['application/msword', 'text/html', 'application/x-dosexec', 'application/java', 'application/java-archive', 'application/x-executable', 'application/x-mach-binary', 'image/svg+xml']));
/**
* Double dot file extensions.
*
- * Pomf keeps the last file extension for the uploaded file. In other words, an
+ * Uguu keeps the last file extension for the uploaded file. In other words, an
* uploaded file with `.tar.gz` extension will be given a random filename which
* ends in `.gz` unless configured here to ignore discards for `.tar.gz`.
*