[Options] This fixes previous error where options tables missing by running migrate every page load
run migrate before loading any page content.
这个提交包含在:
父节点
8dfaf47c79
当前提交
b2d7565e63
共有 1 个文件被更改,包括 5 次插入 和 1 次删除
|
|
@ -12,6 +12,10 @@ class OptionsLib {
|
||||||
// Make Codeigniter functions available to library
|
// Make Codeigniter functions available to library
|
||||||
$CI =& get_instance();
|
$CI =& get_instance();
|
||||||
|
|
||||||
|
// Force Migration to run on every page load
|
||||||
|
$CI->load->library('Migration');
|
||||||
|
$CI->migration->current();
|
||||||
|
|
||||||
//Load the options model
|
//Load the options model
|
||||||
$CI->load->model('options_model');
|
$CI->load->model('options_model');
|
||||||
|
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用