From: x2003bruneau Date: Thu, 22 Mar 2007 09:06:05 +0000 (+0000) Subject: Oops X-Git-Tag: xorg/0.9.14~188 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1148fc0375ce69e608b6ddd228ee4b9a07961840;p=platal.git Oops git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1598 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/platal.inc.php b/include/platal.inc.php index 2d49ff7..8b0b211 100644 --- a/include/platal.inc.php +++ b/include/platal.inc.php @@ -40,7 +40,7 @@ function __autoload($cls) { $cls = strtolower($cls); $path = dirname(dirname(__FILE__)); - if (!include "$path/classes/$cls.php") { + if (!@include "$path/classes/$cls.php") { if (substr($cls, -1, 3) == 'req') { @include 'validations.inc.php'; return;