-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathglobals.php
More file actions
27 lines (21 loc) · 790 Bytes
/
globals.php
File metadata and controls
27 lines (21 loc) · 790 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
<?php
//This file is intentionally left blank so that you can add your own global settings
//and includes which you may need inside your services. This is generally considered bad
//practice, but it may be the only reasonable choice if you want to integrate with
//frameworks that expect to be included as globals, for example TextPattern or WordPress
//Set start time before loading framework
list($usec, $sec) = explode(" ", microtime());
$amfphp['startTime'] = ((float)$usec + (float)$sec);
$servicesPath = "services/";
$voPath = "services/vo/";
//As an example of what you might want to do here, consider:
/*
if(!PRODUCTION_SERVER)
{
define("DB_HOST", "localhost");
define("DB_USER", "root");
define("DB_PASS", "");
define("DB_NAME", "amfphp");
}
*/
?>