Merge branch 'develop' into 'master'
Develop into master : correction logger See merge request !5
This commit is contained in:
commit
b58db8e199
@ -210,7 +210,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
|||||||
} else {
|
} else {
|
||||||
$level = Logger::NOTICE;
|
$level = Logger::NOTICE;
|
||||||
}
|
}
|
||||||
$log->pushHandler(new StreamHandler($logFile), $level);
|
$log->pushHandler(new StreamHandler($logFile, $level));
|
||||||
$log->pushProcessor(new IntrospectionProcessor());
|
$log->pushProcessor(new IntrospectionProcessor());
|
||||||
|
|
||||||
Zend_Registry::set('logger', $log);
|
Zend_Registry::set('logger', $log);
|
||||||
|
@ -64,7 +64,7 @@ class Entreprise extends Scores_Ws_Server
|
|||||||
// --- Correction pour l'envoi des dates
|
// --- Correction pour l'envoi des dates
|
||||||
if ( !empty($DateCreaEn) ) {
|
if ( !empty($DateCreaEn) ) {
|
||||||
$Infos->DateCreaEn = $DateCreaEn;
|
$Infos->DateCreaEn = $DateCreaEn;
|
||||||
if (strlen($DateCreaEn)<8) {
|
if (strlen($DateCreaEn) < 8) {
|
||||||
$Infos->DateCreaEn = str_pad($DateCreaEn, 8, '0', STR_PAD_RIGHT);
|
$Infos->DateCreaEn = str_pad($DateCreaEn, 8, '0', STR_PAD_RIGHT);
|
||||||
}
|
}
|
||||||
if (substr($DateCreaEn, -2) * 1 == 0) {
|
if (substr($DateCreaEn, -2) * 1 == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user