Task 0001912: Developpement DEBUG new system with level
This commit is contained in:
parent
5956d4620c
commit
a2c0e116fa
23 changed files with 96 additions and 70 deletions
|
|
@ -147,7 +147,7 @@ class Database extends DatabaseCore
|
|||
$this->execute_script(NOALYSS_INCLUDE . '/sql/patch/upgrade' . $i . '.sql');
|
||||
echo $succeed;
|
||||
|
||||
if (!DEBUG)
|
||||
if ( DEBUGNOALYSS == 0)
|
||||
ob_start();
|
||||
// specific for version 4
|
||||
if ($i == 4) {
|
||||
|
|
@ -224,7 +224,7 @@ class Database extends DatabaseCore
|
|||
$this->execute_script(NOALYSS_INCLUDE . "/sql/patch/upgrade141." . $country . ".sql");
|
||||
}
|
||||
|
||||
if (!DEBUG)
|
||||
if (DEBUGNOALYSS == 0 )
|
||||
ob_end_clean();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue