示例#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');
 }
示例#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");
 }
示例#3
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('myclass');
     $file = FCPATH . 'install.lock';
     if (file_exists($file)) {
         show_message('系统已安装过,请删除/intall.lock再重新安装', site_url());
     }
 }
示例#4
0
	function __construct() {
		parent::__construct();
		if (file_exists("config.php"))
			redirect('admin');
		$this->viewdata["controller_title"] = "Installation";
	}