From 5b2365029d1aa818caaed8172e26320bc0ff7b85 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 26 Feb 2005 15:48:25 +0000 Subject: [PATCH] Sql Comment prob --- html/admin/setup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/admin/setup.php b/html/admin/setup.php index b4deb5a2b..cfbb87c85 100644 --- a/html/admin/setup.php +++ b/html/admin/setup.php @@ -96,13 +96,13 @@ function ExecuteScript($p_cn,$script) { while (!feof($hf)) { $buffer=fgets($hf); // comment are not execute - if ( strpos($buffer,"--") === 0) { - echo "comment $buffer"; + if ( substr($buffer,0,2) == "--" ) { + //echo "comment $buffer"; continue; } // Blank Lines Are Skipped If ( Strlen($buffer)==0) { - echo "Blank $buffer"; + //echo "Blank $buffer"; Continue; }