From ef60275bed688a68058c49551c219c10c111c3d9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 6 Nov 2024 20:15:51 +0100 Subject: [PATCH] Test code --- test/other/test_uncrypt.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/other/test_uncrypt.php b/test/other/test_uncrypt.php index 2607215ef32..664791e095c 100755 --- a/test/other/test_uncrypt.php +++ b/test/other/test_uncrypt.php @@ -15,7 +15,10 @@ if (! $res) { if (! $res) { @include_once './master.inc.php'; } +include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; +print dol_stringtotime('2024-01-01')."\n"; +print dol_stringtotime('2024-01-01 00:00:05'); print "Decode with dol_decode a value crypted with dol_encode:.... in conf.php file\n";