forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan --------- Co-authored-by: Laurent Destailleur <[email protected]>
- Loading branch information
1 parent
ffeb471
commit 000173c
Showing
83 changed files
with
190 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
/* Copyright (C) 2015-2017 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -199,7 +200,7 @@ | |
fputs($fp, '</dolibarr_htdocs_dir>'."\n"); | ||
|
||
asort($checksumconcat); // Sort list of checksum | ||
//var_dump($checksumconcat); | ||
|
||
fputs($fp, '<dolibarr_htdocs_dir_checksum>'."\n"); | ||
fputs($fp, md5(join(',', $checksumconcat))."\n"); | ||
fputs($fp, '</dolibarr_htdocs_dir_checksum>'."\n"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
<?php | ||
/* Copyright (C) 2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2016 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
|
@@ -225,7 +226,6 @@ | |
$user=new User($db); | ||
} | ||
|
||
//var_dump($user->db->database_name); | ||
$ret=$user->fetch('', 'admin'); | ||
if (! $ret > 0) { | ||
print 'An admin user with login "admin" must exists to use this script.'."\n"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/* Copyright (C) 2004 Rodolphe Quiedeville <[email protected]> | ||
* Copyright (C) 2004-2014 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2015 Frederic France <[email protected]> | ||
* Copyright (C) 2015-2024 Frédéric France <[email protected]> | ||
* Copyright (C) 2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Copyright (C) 2011-2017 Philippe Grand <[email protected]> | ||
* Copyright (C) 2015 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2017 Rui Strecht <[email protected]> | ||
* Copyright (C) 2020 Frédéric France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2020-2024 Frédéric France <frederic.france@free.fr> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -119,7 +119,7 @@ | |
print "</tr>\n"; | ||
|
||
$listofnetworks = dol_sort_array($listofnetworks, 'label'); | ||
//var_dump($listofnetworks); | ||
|
||
foreach ($listofnetworks as $key => $value) { | ||
if (!empty($value['active'])) { | ||
print '<tr class="oddeven">'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
/* Copyright (C) 2015-2018 Frederic France <frederic.france@netlogic.fr> | ||
/* Copyright (C) 2015-2024 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2016 Raphaël Doursenaud <[email protected]> | ||
* Copyright (C) 2022 Laurent Destailleur <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/* Copyright (C) 2013-2016 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2014-2018 Frederic France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2014-2024 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2020 Nicolas ZABOURI <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
/* Copyright (C) 2005-2020 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2007 Rodolphe Quiedeville <[email protected]> | ||
* Copyright (C) 2007-2012 Regis Houssin <[email protected]> | ||
* Copyright (C) 2015-2019 Frederic France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2015-2024 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2017 Nicolas ZABOURI <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
* Copyright (C) 2018 Josep Lluis Amador <[email protected]> | ||
* Copyright (C) 2023 Joachim Kueter <[email protected]> | ||
* Copyright (C) 2023 Nick Fragoulis | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2024 William Mead <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.