Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php defined('DIRECT') OR exit('No direct script access allowed');
- class Home extends Controller {
- public function __construct() {
- parent::__construct();
- }
- public function index() {
- $this->load->view('home');
- }
- public function login() {
- $this->load->plugin('Session');
- if($this->Session->get('user_id')) {
- echo "Giriş yapılmış";
- }
- $this->load->view("home_view");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement