[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 11/29: PHP8.1 Compatibility
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 11/29: PHP8.1 Compatibility |
Date: |
Sat, 6 Jan 2024 05:59:14 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit bf822d3c0dc0e9805295721b2ae6f1435f721804
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Dec 16 15:03:36 2023 +0100
PHP8.1 Compatibility
---
html/securimage/securimage.php | 2 +-
include/constant.php | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/html/securimage/securimage.php b/html/securimage/securimage.php
index 43c5b8391..2621a715a 100644
--- a/html/securimage/securimage.php
+++ b/html/securimage/securimage.php
@@ -1570,7 +1570,7 @@ class Securimage_Color {
* @param $green Green component 0-255
* @param $blue Blue component 0-255
*/
- function Securimage_Color($red, $green = null, $blue = null)
+ function __construct($red, $green = null, $blue = null)
{
if ($green == null && $blue == null &&
preg_match('/^#[a-f0-9]{3,6}$/i', $red)) {
$col = substr($red, 1);
diff --git a/include/constant.php b/include/constant.php
index 48584f3e1..5ee720e1e 100644
--- a/include/constant.php
+++ b/include/constant.php
@@ -67,6 +67,7 @@ if (strpos($inc_path, ";") != 0) {
set_include_path($new_path);
@ini_set('default_charset', "UTF-8");
@ini_set('session.use_cookies', 1);
+// deprecated
@ini_set('magic_quotes_gpc', 'off');
if (!defined('OVERRIDE_PARAM')) {
- [Noalyss-commit] [noalyss] branch devel updated (98390d4d4 -> ead8d5f23), dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 03/29: PHP 8.0 Minimum, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 06/29: PHP 8.2 compatibility, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 01/29: Code : change filename, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 02/29: PHP Compatibility, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 05/29: Bug cosmetic : when update in a window, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 07/29: Improve Debug, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 08/29: typo, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 09/29: Fix Bug Balance Accountancy, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 10/29: cosmetic : color info password, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 11/29: PHP8.1 Compatibility,
dwm <=
- [Noalyss-commit] [noalyss] 13/29: Code improve : Acc_Balance utilise PDF_CORE::is_fill, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 14/29: Improve Code : permet d'avoir plusieurs couleurs sur une ligne, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 17/29: Improve : PRINTJRN search in detail VAT mode, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 18/29: PHP8.1 Compatibility, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 21/29: PhpUnit : test, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 20/29: Bug fix : sent emails not counted properly, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 23/29: Task #1749: Cases «Débit» dans les OD's fait remarquer si débit ou crédit, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 04/29: cosmetic info password, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 12/29: Fix bug : $g_parameter non initialisé pour plugin, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 22/29: Task #0002318: Envoi email : forcer le domaine de l'expéditeur Adapter le fichier config, dwm, 2024/01/06