Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 function __construct()
 {
     parent::__construct();
     $this->load->helper('image');
     $this->load->library(array('form_validation', 'session'));
     $this->load->model('Installer_model');
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     // make sure people don't get here if FoOlSlide is already installed
     if (file_exists("config.php")) {
         redirect('admin');
     }
     $this->viewdata["controller_title"] = _("Installation");
 }
Exemplo n.º 3
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('myclass');
     $file = FCPATH . 'install.lock';
     if (file_exists($file)) {
         show_message('系统已安装过,请删除/intall.lock再重新安装', site_url());
     }
 }
Exemplo n.º 4
0
	function __construct() {
		parent::__construct();
		if (file_exists("config.php"))
			redirect('admin');
		$this->viewdata["controller_title"] = "Installation";
	}