Changeset 9972 for trunk/install/index.php
- Timestamp:
- 04/06/09 04:21:27 (3 years ago)
- File:
-
- 1 edited
-
trunk/install/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/index.php
r9939 r9972 1435 1435 1436 1436 $enable_gd_value = extension_loaded('gd') ? 'on' : ''; 1437 if (! (mysql_query ("UPDATE ` GlParams` SET `VALUE`='{$enable_gd_value}' WHERE `Name`='enable_gd'", $vLink )))1437 if (! (mysql_query ("UPDATE `sys_options` SET `VALUE`='{$enable_gd_value}' WHERE `Name`='enable_gd'", $vLink ))) 1438 1438 $ret .= "<font color=red><i><b>Error</b>:</i> ".mysql_error()."</font><hr>"; 1439 1439 … … 1442 1442 $sSiteEmailNotify = $_POST['notify_email']; 1443 1443 if ($sSiteEmail != '' && $sSiteTitle != '' && $sSiteEmailNotify != '') { 1444 if (! (mysql_query("UPDATE ` GlParams` SET `VALUE`='{$sSiteEmail}' WHERE `Name`='site_email'", $vLink)))1444 if (! (mysql_query("UPDATE `sys_options` SET `VALUE`='{$sSiteEmail}' WHERE `Name`='site_email'", $vLink))) 1445 1445 $ret .= "<font color=red><i><b>Error</b>:</i> ".mysql_error()."</font><hr>"; 1446 if (! (mysql_query("UPDATE ` GlParams` SET `VALUE`='{$sSiteTitle}' WHERE `Name`='site_title'", $vLink)))1446 if (! (mysql_query("UPDATE `sys_options` SET `VALUE`='{$sSiteTitle}' WHERE `Name`='site_title'", $vLink))) 1447 1447 $ret .= "<font color=red><i><b>Error</b>:</i> ".mysql_error()."</font><hr>"; 1448 if (! (mysql_query("UPDATE ` GlParams` SET `VALUE`='{$sSiteEmailNotify}' WHERE `Name`='site_email_notify'", $vLink)))1448 if (! (mysql_query("UPDATE `sys_options` SET `VALUE`='{$sSiteEmailNotify}' WHERE `Name`='site_email_notify'", $vLink))) 1449 1449 $ret .= "<font color=red><i><b>Error</b>:</i> ".mysql_error()."</font><hr>"; 1450 1450 } else {
Note: See TracChangeset
for help on using the changeset viewer.