mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-23 01:41:31 +01:00
Clean code
This commit is contained in:
@@ -9573,9 +9573,7 @@ function ascii_check($str)
|
|||||||
*/
|
*/
|
||||||
function dol_osencode($str)
|
function dol_osencode($str)
|
||||||
{
|
{
|
||||||
global $conf;
|
$tmp = ini_get("unicode.filesystem_encoding");
|
||||||
|
|
||||||
$tmp = ini_get("unicode.filesystem_encoding"); // Disponible avec PHP 6.0
|
|
||||||
if (empty($tmp) && !empty($_SERVER["WINDIR"])) {
|
if (empty($tmp) && !empty($_SERVER["WINDIR"])) {
|
||||||
$tmp = 'iso-8859-1'; // By default for windows
|
$tmp = 'iso-8859-1'; // By default for windows
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user