Files
dolibarr/test/other/test_uncrypt.php
Laurent Destailleur 6cbd046fcf Add maintenance tool
2023-07-02 21:00:43 +02:00

21 lines
472 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)));