kopia lustrzana https://github.com/magicbug/Cloudlog
Fix redirect loop
rodzic
ff55dba9d3
commit
930d80c1fb
|
@ -38,12 +38,6 @@ class OptionsLib {
|
||||||
$CI->config->set_item('option_'.$item->option_name, $item->option_value);
|
$CI->config->set_item('option_'.$item->option_name, $item->option_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if version 2 mirgation has not been run then run it
|
|
||||||
if($item->option_name == "version2_trigger") {
|
|
||||||
if($item->option_value == "false") {
|
|
||||||
redirect('welcome');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue