Skip to content

Instantly share code, notes, and snippets.

Created Aug 1, 2019
What would you like to do?
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin extends CI_Controller
public function index()
$ip = $_SERVER['HTTP_HOST'];;
$arrayData = array(
"ip" => $ip,
$this->load->view('admin', $arrayData);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment