[framadate] PHP 7.4
parent
6a576b2ae1
commit
5e0498e5cb
|
@ -73,7 +73,7 @@ const IMAGE_TITRE = 'images/logo-framadate.png';
|
||||||
const URL_PROPRE = true;
|
const URL_PROPRE = true;
|
||||||
|
|
||||||
// Use REMOTE_USER data provided by web server
|
// Use REMOTE_USER data provided by web server
|
||||||
const USE_REMOTE_USER = true;
|
const USE_REMOTE_USER = false;
|
||||||
|
|
||||||
// Path to the log file
|
// Path to the log file
|
||||||
const LOG_FILE = 'admin/stdout.log';
|
const LOG_FILE = 'admin/stdout.log';
|
||||||
|
@ -92,7 +92,7 @@ $config = [
|
||||||
/* general config */
|
/* general config */
|
||||||
'use_smtp' => true, // use email for polls creation/modification/responses notification
|
'use_smtp' => true, // use email for polls creation/modification/responses notification
|
||||||
'smtp_options' => [
|
'smtp_options' => [
|
||||||
'host' => '{{ glob_framadate.smtp_server }}', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator
|
'host' => '{{ glob_framadate.smtp_server }}', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator
|
||||||
'auth' => false, // Enable SMTP authentication
|
'auth' => false, // Enable SMTP authentication
|
||||||
'username' => '', // SMTP username
|
'username' => '', // SMTP username
|
||||||
'password' => '', // SMTP password
|
'password' => '', // SMTP password
|
||||||
|
|
|
@ -32,7 +32,7 @@ server {
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include /etc/nginx/fastcgi_params;
|
include /etc/nginx/fastcgi_params;
|
||||||
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
}
|
}
|
||||||
try_files $uri $uri/ =401;
|
try_files $uri $uri/ =401;
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ server {
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include /etc/nginx/fastcgi_params;
|
include /etc/nginx/fastcgi_params;
|
||||||
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue