install/includes/cli-core.php
changeset 814 7664d7d38a4a
parent 813 3fe11491f512
child 818 12346be3ec3d
equal deleted inserted replaced
813:3fe11491f512 814:7664d7d38a4a
   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,