Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../igalerie
File: conf.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// Clés de sécurité (ne jamais modifier).
[2] Fix | Delete
define('CONF_KEY', '[[CONF_KEY]]');
[3] Fix | Delete
define('CONF_ACCESS_KEY', '[[CONF_ACCESS_KEY]]');
[4] Fix | Delete
define('CONF_PASSWORD_PEPPER', '[[CONF_PASSWORD_PEPPER]]');
[5] Fix | Delete
[6] Fix | Delete
// Base de données.
[7] Fix | Delete
define('CONF_DB_USER', '[[softdbuser]]');
[8] Fix | Delete
define('CONF_DB_PASS', '[[softdbpass]]');
[9] Fix | Delete
define('CONF_DB_TYPE', 'mysql');
[10] Fix | Delete
define('CONF_DB_HOST', '[[softdbhost]]');
[11] Fix | Delete
define('CONF_DB_PORT', '3306');
[12] Fix | Delete
define('CONF_DB_NAME', '[[softdb]]');
[13] Fix | Delete
define('CONF_DB_PREF', '[[dbprefix]]');
[14] Fix | Delete
define('CONF_DB_DATE', 'php');
[15] Fix | Delete
define('CONF_DB_TRAN', 1);
[16] Fix | Delete
[17] Fix | Delete
// SQLite (sauvegarde de la base de données).
[18] Fix | Delete
define('CONF_SQLITE_BACKUP', 1);
[19] Fix | Delete
define('CONF_SQLITE_BACKUP_MAX', 10);
[20] Fix | Delete
[21] Fix | Delete
// Paramètres de la galerie.
[22] Fix | Delete
define('CONF_CHARSET', 'UTF-8');
[23] Fix | Delete
define('CONF_INTEGRATED', 0);
[24] Fix | Delete
define('CONF_URL_REWRITE', 0);
[25] Fix | Delete
[26] Fix | Delete
// Développement et débogage.
[27] Fix | Delete
define('CONF_DEBUG_MODE', 0); # 0 en production
[28] Fix | Delete
define('CONF_DEBUG_SQL', 0); # 1 en développement ; 0 en production
[29] Fix | Delete
define('CONF_DEV_MODE', 0); # 1 en développement ; 0 en production
[30] Fix | Delete
define('CONF_EXEC_TIME', 0); # 1 en développement ; 0 en production
[31] Fix | Delete
[32] Fix | Delete
// Répertoires.
[33] Fix | Delete
define('CONF_ADMIN_DIR', 'admin');
[34] Fix | Delete
define('CONF_ALBUMS_PATH', '[[softpath]]/albums');
[35] Fix | Delete
define('CONF_GALLERY_PATH', '[[relativeurl]]');
[36] Fix | Delete
[37] Fix | Delete
// Cookie.
[38] Fix | Delete
define('CONF_COOKIE_PREFS_NAME', 'igal3_prefs');
[39] Fix | Delete
define('CONF_COOKIE_PREFS_EXPIRE', 315360000);
[40] Fix | Delete
define('CONF_COOKIE_SESSION_NAME', 'igal3_session');
[41] Fix | Delete
define('CONF_COOKIE_SESSION_EXPIRE', 2592000); # 30 jours
[42] Fix | Delete
[43] Fix | Delete
// GD.
[44] Fix | Delete
define('CONF_GD_TRANSPARENCY', 1);
[45] Fix | Delete
[46] Fix | Delete
// Gestion des erreurs.
[47] Fix | Delete
define('CONF_ERRORS_DISPLAY', 0); # 1 en développement ; 0 en production
[48] Fix | Delete
define('CONF_ERRORS_DISPLAY_TRACE', 1);
[49] Fix | Delete
define('CONF_ERRORS_DISPLAY_NOW', 0);
[50] Fix | Delete
define('CONF_ERRORS_TRACE_ARGS', 1);
[51] Fix | Delete
define('CONF_ERRORS_LOG', 1); # 1 en développement et en production
[52] Fix | Delete
define('CONF_ERRORS_LOG_MAX', 100);
[53] Fix | Delete
[54] Fix | Delete
// Sécurité.
[55] Fix | Delete
define('CONF_ANTICSRF_TOKEN_EXPIRE', 86400);
[56] Fix | Delete
define('CONF_AUTH_ADMIN_IP', '');
[57] Fix | Delete
define('CONF_BRUTE_FORCE_MAX_ATTEMPT', 10);
[58] Fix | Delete
define('CONF_FILE_KEY', 1); # utiliser CONF_ACCESS_KEY pour protéger l'accès aux fichiers ?
[59] Fix | Delete
define('CONF_HTTP_CSP_FRAME_ANCESTORS', '');
[60] Fix | Delete
define('CONF_HTTP_CSP_HOSTS', '');
[61] Fix | Delete
define('CONF_SESSION_EXPIRE', 172800); # ne doit pas être supérieur à CONF_COOKIE_SESSION_EXPIRE
[62] Fix | Delete
[63] Fix | Delete
// Vignettes.
[64] Fix | Delete
define('CONF_THUMBS_GRID_SIZES', [80,100,120,150,180,200,220,250,280,300,350,400]);
[65] Fix | Delete
define('CONF_THUMBS_QUALITY', 90);
[66] Fix | Delete
define('CONF_THUMBS_SECURE', 0); # protéger les vignettes des accès direct (avec .htaccess Deny from all sur cache/thumbs) ?
[67] Fix | Delete
define('CONF_THUMBS_SIZE_CAT', '150');
[68] Fix | Delete
define('CONF_THUMBS_SIZE_ITEM', '151');
[69] Fix | Delete
[70] Fix | Delete
// Paramètres SMTP.
[71] Fix | Delete
define('CONF_SMTP_MAIL', 0); # 1 pour utiliser SMTP à la place de la fonction mail() de PHP
[72] Fix | Delete
define('CONF_SMTP_HOST', '');
[73] Fix | Delete
define('CONF_SMTP_PORT', 25);
[74] Fix | Delete
define('CONF_SMTP_AUTH', 0); # 1 si la connexion au serveur nécessite un login / mdp
[75] Fix | Delete
define('CONF_SMTP_USER', '');
[76] Fix | Delete
define('CONF_SMTP_PASS', '');
[77] Fix | Delete
define('CONF_SMTP_TIME', 4); # délai d'attente maximum pour la connexion et l'envoi de commande
[78] Fix | Delete
[79] Fix | Delete
?>
[80] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function