1
0
Fork 0

Fix gallery for starting at index 1 instead of 0

This commit is contained in:
Doug Patti 2012-02-10 17:42:43 -05:00
parent c28353a3b6
commit fcb32dd5bb

View file

@ -1,7 +1,7 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Gallery extends CI_Controller {
public function index($start = 1) {
public function index($start = 0) {
$this->load->model('fileupload');
$this->load->library('pagination');
@ -24,4 +24,4 @@ class Gallery extends CI_Controller {
}
?>
?>