22if (!defined(
'ALLOWED'))
23 die(
'Appel direct ne sont pas permis');
48 record_log(__FILE__.$e->getMessage().
" ".
$e->getTraceAsString());
49 echo
$e->getMessage().
" ".
$e->getTraceAsString();
57 $tag_group_id=
$http->request(
"tag_group");
62 if (
$cn->get_value(
"select count (*) from jnt_tag_group_tag where tag_id = $1 and tag_group_id = $2",
63 [
$tag, $tag_group_id])==0)
65 $cn->exec_sql(
"insert into jnt_tag_group_tag(tag_id,tag_group_id) values ($1,$2)", [
$tag, $tag_group_id]);
71 $tag_group_id=
$cn->get_value(
"select tag_group_id from jnt_tag_group_tag where jt_id = $1",[
$tag]);
74 $cn->exec_sql(
"delete from jnt_tag_group_tag where jt_id=$1", [
$tag]);
record_log($p_message)
Record an error message into the log file of the server.
if( $delta< 0) elseif( $delta==0)