Skip to content

Commit

Permalink
test push
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Aug 24, 2011
1 parent b704e17 commit b0b0f53
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions htdocs/main.inc.php
Expand Up @@ -137,31 +137,6 @@ function analyse_sql_and_script(&$var,$get)
// This include will set: $conf, $db, $langs, $user, $mysoc objects
require_once("master.inc.php");

// Activate error interceptions
/*
function processError($code, $message, $file, $line, $context)
{
$errmess='ERROR '.$file.' - '.$line.' - '.error_reporting()." - ".$code."<br>\n";
//print $errmess;
if (error_reporting() & $code) {
print $errmess;
throw new Exception($message, $code);
}
}
set_error_handler('processError');
*/

// GET and POST converter
/*
foreach($_REQUEST as $key => $value)
{
// For prevent conflict
$var = '__'.$key;
// Create variable with tested value
$$var = GETPOST($key);
}
*/

// Activate end of page function
register_shutdown_function('dol_shutdown');

Expand Down

0 comments on commit b0b0f53

Please sign in to comment.