-
Notifications
You must be signed in to change notification settings - Fork 3
/
page_locations.php
24 lines (16 loc) · 934 Bytes
/
page_locations.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
<?php
global $use_local, $indexLocation, $loginLocation, $adminLocation, $timedOutLocation;
include 'db_picker.php';
// If $use_local from the db_picker file is true, use localhost urls. Else use cpanel urls
if ($use_local){
$indexLocation = 'http://localhost:63342/Sprint4/index.php'; // local (may need to change port number)
$adminLocation = 'http://localhost:63342/Sprint4/admin_dashboard.php';
$loginLocation = 'http://localhost:63342/Sprint4/login.php';
$timedOutLocation = 'http://localhost:63342/Sprint4/timed_out.php';
}else{
$indexLocation = 'https://dragonfly.greenriverdev.com/sprint5/index.php'; //cpanel
$adminLocation = 'https://dragonfly.greenriverdev.com/sprint5/admin_dashboard.php'; //cpanel
$loginLocation = 'https://dragonfly.greenriverdev.com/sprint5/login.php'; //cpanel
$timedOutLocation = 'https://dragonfly.greenriverdev.com/sprint5/timed_out.php'; //cpanel
}
?>