示例#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
文件: index.php 项目: vgrish/dvelum
<?php

define('DVELUM_ROOT', str_replace('\\', '/', dirname(__DIR__)));
date_default_timezone_set('Europe/Moscow');
include './app/Install/Controller.php';
/**
 * Connect an autoloader
 */
include '../system/library/Autoloader.php';
/**
 *  Add the library path
 */
$autoloader = new Autoloader(array('paths' => array('../system/library', '../system/app'), 'useMap' => false));
$controller = new Install_Controller();
$controller->run();
示例#5
0
	function __construct() {
		parent::__construct();
		if (file_exists("config.php"))
			redirect('admin');
		$this->viewdata["controller_title"] = "Installation";
	}