| 365 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/*
|
|
|
4 |
|--------------------------------------------------------------------------
|
|
|
5 |
| Register The Composer Auto Loader
|
|
|
6 |
|--------------------------------------------------------------------------
|
|
|
7 |
|
|
|
|
8 |
| Composer provides a convenient, automatically generated class loader
|
|
|
9 |
| for our application. We just need to utilize it! We'll require it
|
|
|
10 |
| into the script here so that we do not have to worry about the
|
|
|
11 |
| loading of any our classes "manually". Feels great to relax.
|
|
|
12 |
|
|
|
|
13 |
*/
|
|
|
14 |
|
|
|
15 |
require __DIR__.'/vendor/autoload.php';
|
|
|
16 |
|
|
|
17 |
/*
|
|
|
18 |
|--------------------------------------------------------------------------
|
|
|
19 |
| Set The Default Timezone
|
|
|
20 |
|--------------------------------------------------------------------------
|
|
|
21 |
|
|
|
|
22 |
| Here we will set the default timezone for PHP. PHP is notoriously mean
|
|
|
23 |
| if the timezone is not explicitly set. This will be used by each of
|
|
|
24 |
| the PHP date and date-time functions throughout the application.
|
|
|
25 |
|
|
|
|
26 |
*/
|
|
|
27 |
|
|
|
28 |
date_default_timezone_set('UTC');
|