This repository has been archived by the owner on May 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
internal.php
34 lines (28 loc) · 1.63 KB
/
internal.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**************************************************************************
* Wikipedia Account Request System *
***************************************************************************
* *
* Conceptualised by Incubez (author: X!) and ACC (author: SQL and others) *
* *
* Please refer to /LICENCE for more info. *
* *
**************************************************************************/
/**************************************************************************
* Please note: This file was originally written by Simon Walker for a *
* university assignment, and may need adapting for purpose. *
* *
* DO NOT CHANGE THE EXISTING INTERFACE OF THIS CLASS unless you really *
* know what you're doing. *
**************************************************************************/
// define a constant which we can check for in other code files.
//this will prevent other pages being used as a code entry point.
define("WARS", 1);
// load the configuration file, which in turn will set up the environment with everything we need.
require_once("config.inc.php");
// Start the session
session_start();
// create the page
$page = PageBase::create();
// execute the page
$page->execute();