equal
deleted
inserted
replaced
454 |
454 |
455 $wkt = $db->escape($wkt); |
455 $wkt = $db->escape($wkt); |
456 |
456 |
457 $vars = array( |
457 $vars = array( |
458 'TABLE_PREFIX' => table_prefix, |
458 'TABLE_PREFIX' => table_prefix, |
459 'SITE_NAME' => $sitename, |
459 'SITE_NAME' => $db->escape($sitename), |
460 'SITE_DESC' => $sitedesc, |
460 'SITE_DESC' => $db->escape($sitedesc), |
461 'COPYRIGHT' => $copyright, |
461 'COPYRIGHT' => $db->escape($copyright), |
462 'WIKI_MODE' => '0', |
462 'WIKI_MODE' => '0', |
463 'ENABLE_CACHE' => ( is_writable( ENANO_ROOT . '/cache/' ) ? '1' : '0' ), |
463 'ENABLE_CACHE' => ( is_writable( ENANO_ROOT . '/cache/' ) ? '1' : '0' ), |
464 'VERSION' => installer_enano_version(), |
464 'VERSION' => installer_enano_version(), |
465 'ADMIN_USER' => $db->escape($user), |
465 'ADMIN_USER' => $db->escape($user), |
466 'ADMIN_PASS' => $admin_pass, |
466 'ADMIN_PASS' => $admin_pass, |