PHP Classes

File: WICore/WIClass/WI.php

Recommend this page to a friend!
  Classes of Jules Warner   WICMS   WICore/WIClass/WI.php   Download  
File: WICore/WIClass/WI.php
Role: Example script
Content type: text/plain
Description: Example script
Class: WICMS
Database driven content management system with PDO
Author: By
Last change: WI CMS

I am in process of building up my own cms system, its not quiet complete
yet.
There are multiple PDO classes, database driven, in process of making an
installer package for it.
The back end is being built UI with drag and drop, for a simple set up
Date: 7 years ago
Size: 953 bytes
 

Contents

Class file image Download
<?php


// redirect user to installation page if script is not installed
if ( ! file_exists( dirname(__FILE__) . '/WIConfig.php' ) && ! isset($installation) )
   
header("Location: WIInstall/install.php");

include_once
'WIConfig.php';
include_once
'WISession.php';
include_once
'WIValidator.php';
include_once
'WILang.php';
include_once
'WIRole.php';
include_once
'WIdb.php';
include_once
'WIEmail.php';
include_once
'WILogin.php';
include_once
'WIRegister.php';
include_once
'WIUser.php';
include_once
'WIHelperFunctions.php';
include_once
'WISite.php';
include_once
'WIMaintenace.php';


$WIdb = WIdb::getInstance();


WISession::startSession();

WISession::set("name", 'WICMS');

$Multilang = new WILang();
$login = new WILogin();
$register = new WIRegister();
$mailer = new WIEmail();
$site = new WISite();
$validator = new WIValidator();
$maint = new WIMaintenace();


if ( isset (
$_GET['lang'] ) )
   
WILang::setLanguage($_GET['lang']);
?>