Created
January 15, 2012 12:03
-
-
Save phawk/1615623 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Privatepage extends MY_Controller { | |
function __construct() | |
{ | |
parent::__construct(); | |
} | |
function index() | |
{ | |
echo 'Welcome to the private area user: '.$this->session->userdata('user_id'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment