mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Add maintenance tool
This commit is contained in:
parent
df2b88a9d2
commit
6cbd046fcf
20
test/other/test_uncrypt.php
Executable file
20
test/other/test_uncrypt.php
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/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)));
|
||||
Loading…
Reference in New Issue
Block a user