forked from mcardinaels/MyTurtle
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.example.php
More file actions
38 lines (30 loc) · 828 Bytes
/
index.example.php
File metadata and controls
38 lines (30 loc) · 828 Bytes
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
35
36
37
38
<?php
/*
* --------------------------------------------------------------------
* Set the environment
* --------------------------------------------------------------------
*/
define('ENVIRONMENT', 'production');
/*
* --------------------------------------------------------------------
* HERE WE GO!
*
* Don't make changes beyond this line
* --------------------------------------------------------------------
*/
if (defined('ENVIRONMENT'))
{
switch (ENVIRONMENT)
{
case 'development':
$alias = 'https://s.flatturtle.com/hub';
break;
case 'testing':
case 'production':
$alias = '/'.$_GET['alias'];
break;
default:
exit('The application environment is not set correctly.');
}
}
require_once 'client/template.php';