mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Make 'voux' the default theme during installation.
This commit is contained in:
parent
36a087f1ce
commit
cc56b7296b
@ -21,13 +21,18 @@ define('MAKE_INSTALL_LOG', true);
|
||||
/* Default Options and Paths for Installer */
|
||||
$MySQLprefix = 'e107_';
|
||||
$HANDLERS_DIRECTORY = "e107_handlers/"; // needed for e107 class init
|
||||
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
|
||||
define("e107_INIT", TRUE);
|
||||
define("DEFAULT_INSTALL_THEME", 'voux');
|
||||
|
||||
require_once("e107_admin/ver.php");
|
||||
|
||||
define("e_VERSION", $e107info['e107_version']);
|
||||
|
||||
|
||||
|
||||
/*define("e_UC_PUBLIC", 0);
|
||||
define("e_UC_MAINADMIN", 250);
|
||||
define("e_UC_READONLY", 251);
|
||||
@ -1140,7 +1145,7 @@ class e_install
|
||||
$thumbnail = "<img class='img-responsive img-fluid thumbnail' src='".$preview ."' alt='".$val."' />";
|
||||
|
||||
|
||||
$selected = ($val == 'landingzero') ? " checked" : "";
|
||||
$selected = ($val === DEFAULT_INSTALL_THEME) ? " checked" : "";
|
||||
|
||||
$output .= "
|
||||
<div class='col-md-6 theme-cell' >
|
||||
|
Loading…
x
Reference in New Issue
Block a user