mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
set default theme after install to darkly to match installer
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* This migration adds the theme 'default' as standard/default theme to wavelog.
|
||||
* This migration adds the theme 'darkly' as standard/default theme to wavelog.
|
||||
*/
|
||||
|
||||
class Migration_add_default_theme_to_options_table extends CI_Migration {
|
||||
@@ -11,7 +11,7 @@ class Migration_add_default_theme_to_options_table extends CI_Migration {
|
||||
public function up()
|
||||
{
|
||||
$data = array(
|
||||
array('option_name' => "theme", 'option_value' => "default", 'autoload' => "yes")
|
||||
array('option_name' => "theme", 'option_value' => "darkly", 'autoload' => "yes")
|
||||
);
|
||||
|
||||
$this->db->insert_batch('options', $data);
|
||||
|
||||
Reference in New Issue
Block a user