mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
Revert "Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme."
This reverts commit 26114972c3.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
class Search_Controller extends Controller {
|
||||
public function index() {
|
||||
$page_size = theme::get_var("page_size", 9);
|
||||
$page_size = module::get_var("gallery", "page_size", 9);
|
||||
$q = $this->input->get("q");
|
||||
$page = $this->input->get("page", 1);
|
||||
$offset = ($page - 1) * $page_size;
|
||||
|
||||
Reference in New Issue
Block a user