Fix gallery for starting at index 1 instead of 0
This commit is contained in:
parent
c28353a3b6
commit
fcb32dd5bb
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||||
|
|
||||||
class Gallery extends CI_Controller {
|
class Gallery extends CI_Controller {
|
||||||
public function index($start = 1) {
|
public function index($start = 0) {
|
||||||
$this->load->model('fileupload');
|
$this->load->model('fileupload');
|
||||||
$this->load->library('pagination');
|
$this->load->library('pagination');
|
||||||
|
|
||||||
|
@ -24,4 +24,4 @@ class Gallery extends CI_Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue