X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=banana%2Fpage.inc.php;h=0fa22730821593a17dab8bf03b6af15197f9b012;hb=e83d5aa08680c6a8d7fb70d7c320f0d42862411e;hp=883865c196dac0d797f470f08e767227ec5455de;hpb=f89b7377637fa4e6b2f71384857f3138fe0b5b0e;p=banana.git diff --git a/banana/page.inc.php b/banana/page.inc.php index 883865c..0fa2273 100644 --- a/banana/page.inc.php +++ b/banana/page.inc.php @@ -7,7 +7,9 @@ * Copyright: See COPYING files that comes with this distribution ********************************************************************************/ -require_once 'smarty/libs/Smarty.class.php'; +if (!include_once('Smarty.class.php')) { + require_once 'smarty/libs/Smarty.class.php'; +} class BananaPage extends Smarty {