mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
27 lines
506 B
PHP
Executable File
27 lines
506 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 with dol_decode a value crypted with dol_encode:.... in conf.php file\n";
|
|
|
|
print dol_decode('123456789');
|
|
|
|
print "\n";
|
|
|
|
//print print_r(unserialize(serialize($object)));
|