-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphotos.phpg
47 lines (41 loc) · 1.23 KB
/
photos.phpg
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
39
40
41
42
43
44
45
46
47
#!/usr/bin/env php
<?php
/**
* photos.phpg - \Callicore\Photos startup file
*
* This is released under the MIT, see license.txt for details
*
* @author Elizabeth M Smith <[email protected]>
* @copyright Elizabeth M Smith (c) 2009-2012
* @link http://callicore.net
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @since Php 5.4.0 GTK 2.24.0
* @package callicore
* @subpackage photos
* @filesource
*/
/**
* Namespace for application
*/
namespace Callicore\Photos;
/**
* Figure out our library location
*/
defined('CALLICORE_LIB') || define('CALLICORE_LIB', (getenv('CALLICORE_LIB') ? getenv('CALLICORE_LIB') : __DIR__ . DIRECTORY_SEPARATOR . 'callicore' . DIRECTORY_SEPARATOR));
/**
* Figure out our app location
*/
defined('CALLICORE_PHOTOS') || define('CALLICORE_PHOTOS', (getenv('CALLICORE_PHOTOS') ? getenv('CALLICORE_PHOTOS') : __DIR__ . DIRECTORY_SEPARATOR));
/**
* include our Callicore library
*/
include CALLICORE_LIB . 'callicore.php';
/**
* include our photos application
*/
include CALLICORE_PHOTOS . 'photos.php';
/**
* Create our application and run it
*/
$application = new Application;
$application->run();