X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=8382159b0686a9f5ff0c04c50b7e20c84e381e3f;hp=64b965fe5181fb2b1663a3dd8ab3e05666ff6f01;hb=b6cae6a5698c5d0655d921f78f0ccab470bf034c;hpb=3b38ca36fc18d34999073625a9c66dc2f05747a3 diff --git a/inc/templates_index.php b/inc/templates_index.php index 64b965f..8382159 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -2,7 +2,7 @@ /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD license. */ -require_once ("./inc/settings.php"); +@include_once ("./inc/settings.php"); require_once ("./inc/db/mysql.php"); try { @@ -25,7 +25,7 @@ if (defined ("POPUPNEARFEATURE") && (POPUPNEARFEATURE)) { - <?php echo defined ("SITETITLE") ? SITETITLE : "SYP"?> + <?php echo defined ("SITETITLE") ? htmlspecialchars (SITETITLE) : "SYP"?>