Code improve

Todo List to finish , allow a empty date
This commit is contained in:
sparkyx 2024-12-14 17:45:38 +01:00
parent 3d89ad3f19
commit b282f2846b
14 changed files with 123 additions and 70 deletions

View file

@ -67,8 +67,8 @@ define('ALLOWED', 1);
load_all_script();
// To enable assert , set "zend.assertions" in the php.ini file
ini_set("assert.active",1);
assert_options(ASSERT_ACTIVE, 1);
assert_options(ASSERT_WARNING, 1);
// assert_options(ASSERT_ACTIVE, 1);
//assert_options(ASSERT_WARNING, 1);
//removed in PHP8 assert_options(ASSERT_QUIET_EVAL, 1);
function my_assert_handler($file, $line, $code)
{
@ -77,7 +77,7 @@ function my_assert_handler($file, $line, $code)
Line '$line'<br />
Code '$code'<br /><hr />";
}
assert_options(ASSERT_CALLBACK, 'my_assert_handler');
//assert_options(ASSERT_CALLBACK, 'my_assert_handler');
/******************************************************************************************************************/
/* Utilities
/******************************************************************************************************************/