-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
30 lines (27 loc) · 821 Bytes
/
index.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
<?php
/**
* SWS-CMS System
* - Simna Web Services Programming Team
*
* Main launcher that grabs the controller
* Last Updated: $Date: 2010-04-28 13:42:06 -0500 (Wed, 28 Apr 2010) $
*
* @author $Author: krocheck $
* @copyright 2009 Simna Web Services, LLC
* @package SWS-CMS
* @link http://www.simnaweb.com
* @since 1.0.0
* @version $Revision: 2 $
*/
// Needed to setup the paths
require_once( 'init.php' );
// Sets up what this application is called
// THE ROOT APPLICATION IS PUBLIC
define( 'SWS_THIS_APPLICATION', 'public' );
// Overrides the user's language preference, given the
// admin panel is only in English at the moment.
define( 'SWS_THIS_LANGUAGE', 'en' );
// Get the main controller and launch the application
require_once( SWS_CORE_PATH . 'controller.php' );
Controller::execute();
?>