|
From: Ulf E. <ulf...@us...> - 2005-05-30 20:02:29
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv454 Modified Files: install.php Log Message: Check for get_magic_quotes_gpc() before install. Index: install.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/install.php,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- install.php 30 May 2005 19:32:26 -0000 1.43 +++ install.php 30 May 2005 20:02:19 -0000 1.44 @@ -270,7 +270,14 @@ case 'dbtest' : test_database($_GET, true); break; } } else { - show_front(); + if (!get_magic_quotes_gpc()) { + echo "<p>magic_quotes_gpc is OFF!</p>"; + echo "<p>You must have magic_quotes_gpc set to On either in php.ini or in "; + echo ".htaccess (see <a href=\"http://www.php.net/manual/en/configuration.php\">http://www.php.net/manual/en/configuration.php</a> for more info).</p>"; + } + else { + show_front(); + } } // Any whitespace below the end tag will disrupt config.php ?> \ No newline at end of file |