2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/test/other/test_uncrypt.php
Laurent Destailleur de7d3c2bf8 Fix with php-cs-fixer
2023-12-04 11:22:28 +01:00

27 lines
487 B
PHP
Executable File

#!/usr/bin/env php
<?php
$path = __DIR__ . '/';
$res=@include_once $path.'/../htdocs/master.inc.php';
$res=@include_once $path.'/../../htdocs/master.inc.php';
if (! $res) {
@include_once '../../master.inc.php';
}
if (! $res) {
@include_once '../master.inc.php';
}
if (! $res) {
@include_once './master.inc.php';
}
print "Decode a value crypted with crypted:.... in conf.php file\n";
print dol_decode('123456789');
print "\n";
//print print_r(unserialize(serialize($object)));