first commit
This commit is contained in:
21
application/controllers/bible.php
Executable file
21
application/controllers/bible.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
class Bible extends CI_Controller
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->library('user_agent');
|
||||
$this->load->library('Post', '', 'post');
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$post = new stdClass;
|
||||
$post->title = '';
|
||||
$post->content = '';
|
||||
$post->mainImg = '';
|
||||
$this->load->view('bible/bible', array('post' => $post));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user