mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Doxygen
This commit is contained in:
@@ -67,6 +67,7 @@ if (function_exists('get_magic_quotes_gpc')) // magic_quotes_* removed in PHP6
|
||||
*
|
||||
* @param string $val Value
|
||||
* @param string $get 1=GET, 0=POST
|
||||
* @return boolean true if ther is an injection
|
||||
*/
|
||||
function test_sql_and_script_inject($val, $get)
|
||||
{
|
||||
@@ -91,6 +92,7 @@ function test_sql_and_script_inject($val, $get)
|
||||
*
|
||||
* @param string $var Variable name
|
||||
* @param string $get 1=GET, 0=POST
|
||||
* @return boolean true if ther is an injection
|
||||
*/
|
||||
function analyse_sql_and_script(&$var, $get)
|
||||
{
|
||||
@@ -115,6 +117,7 @@ function analyse_sql_and_script(&$var, $get)
|
||||
return (test_sql_and_script_inject($var,$get) <= 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Sanity check on URL
|
||||
if (! empty($_SERVER["PHP_SELF"]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user