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