mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-09 06:37:01 +02:00
Monstra Library: basic core improvments
This commit is contained in:
@@ -12,7 +12,7 @@ $bgG = 255; // Background color RGB: Green (0 - 255)
|
||||
$bgB = 255; // Background color RGB: Blue (0 - 255)
|
||||
|
||||
$bgclear = true; // Background transparent (true/false)
|
||||
$bgimg = ''; // Background image
|
||||
$bgimg = ''; // Background image
|
||||
$bgframe = true; // Image frame/border
|
||||
|
||||
// ----------------------------
|
||||
@@ -33,12 +33,12 @@ $tfont[] = 'luggerbu.ttf';
|
||||
|
||||
$charel = 'ABCDEFGHKLMNPRTWXYZ234569'; // Characters to use
|
||||
|
||||
$crypteasy = true; // Crypt image easy to read (true) or not (false)
|
||||
$crypteasy = true; // Crypt image easy to read (true) or not (false)
|
||||
|
||||
$charelc = 'BCDFGHKLMNPRTVWXZ'; // $crypteasy = true
|
||||
$charelv = 'AEIOUY'; // $crypteasy = true
|
||||
|
||||
$difuplow = false;
|
||||
$difuplow = false;
|
||||
|
||||
$charnbmin = 4; // Minimum characters in the ciphertext
|
||||
$charnbmax = 4; // Maximum characters in the ciphertext
|
||||
@@ -50,12 +50,10 @@ $charsizemax = 16; // The maximum size of the characters
|
||||
$charanglemax = 25; // The maximum steering angle of characters (0 - 360)
|
||||
$charup = true; // Vertical movement of random characters (yes / no)
|
||||
|
||||
|
||||
// Additional effects
|
||||
|
||||
$cryptgaussianblur = false; // Gaussian Blur
|
||||
$cryptgaussianblur = false; // Gaussian Blur
|
||||
$cryptgrayscal = false; // Grayscal
|
||||
|
||||
|
||||
// ----------------------
|
||||
// Configuration du bruit
|
||||
@@ -74,20 +72,18 @@ $noisecolorchar = 3; // Noise: pixel colors, lines, circles: (1 - 3)
|
||||
// 1: Characters color
|
||||
// 2: The background color
|
||||
// 3: Random Color
|
||||
|
||||
|
||||
$brushsize = 1; // Brush size (in pixels) (1 - 25)
|
||||
|
||||
|
||||
$noiseup = false; // Noise is under entry (TRUE) or below (false)
|
||||
|
||||
|
||||
// --------------------------------
|
||||
// System configuration and security
|
||||
// --------------------------------
|
||||
|
||||
$cryptformat = "png"; // Image format "GIF", "PNG" or "JPG"
|
||||
$cryptsecure = "md5"; // Crypt method "md5", "sha1" or ""
|
||||
$cryptsecure = "md5"; // Crypt method "md5", "sha1" or ""
|
||||
$cryptusetimer = 0; // Time sleep
|
||||
$cryptusertimererror = 3; // Min times
|
||||
$cryptusemax = 1000; // Max times
|
||||
$cryptoneuse = false; //
|
||||
$cryptoneuse = false; //
|
||||
|
Reference in New Issue
Block a user