Alexis Lahouze
a32762b444
Merged changesets 2976 and 2979 from branch stable 1.0 to trunk.
2011-06-04 09:39:15 +00:00
Nahuel Angelinetti
e7311521aa
Rajout de l'ip du client dans les logs du bureau pour savoir qui a fait quoi lorsqu'il y a un problÚme.
2008-08-18 08:17:37 +00:00
Antoine Beaupré
eda30563e3
return the error directly if it's not an array
2008-07-10 20:48:04 +00:00
Benjamin Sonntag
5f689df89c
Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /var/alternc/bureau/class/m_err.php on line 99 CORRIGE
2008-06-26 09:19:06 +00:00
Antoine Beaupré
a2f598a593
correct usage of array_unshift
2008-04-24 18:23:55 +00:00
Antoine Beaupré
a843e1200d
partially revert last change: stick to printf, but still allow
...
variable number of arguments in error handlers
we don't want to switch to strtr as ->raise() is used everywhere
without arrays...
2008-04-24 18:17:43 +00:00
Antoine Beaupré
fc9c612c21
use strtr instead of printf to expand variables in translated strings
...
this means that the error arguments are now passed as an associative
array.
exemple:
$err->raise("foo", "error message: %error", array('%error' => "blah"));
2008-04-24 18:07:11 +00:00
Antoine Beaupré
15f9312e72
doc update of error handler
2008-04-24 17:56:04 +00:00
Antoine Beaupré
de54a15ca0
more factorization in error messages: make errstr() work with our new messaging system
2008-01-22 04:11:00 +00:00
Antoine Beaupré
6160112864
allow arbitrary errors in m_err instead of just error codes. errors are translated before display
2008-01-22 02:17:01 +00:00
Pierre Gilles Mialon
6ca8255f49
AlternC Plugin are now part of AlternC svn repository\n Migration Phase 2
2006-04-26 12:28:53 +00:00