-
Notifications
You must be signed in to change notification settings - Fork 0
/
writer.phpg
47 lines (41 loc) · 1.23 KB
/
writer.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
/**
* writer.phpg - \Callicore\Writer 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 writer
* @filesource
*/
/**
* Namespace for application
*/
namespace Callicore\Writer;
/**
* 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_WRITER') || define('CALLICORE_WRITER', (getenv('CALLICORE_WRITER') ? getenv('CALLICORE_WRITER') : __DIR__ . DIRECTORY_SEPARATOR));
/**
* include our Callicore library
*/
include CALLICORE_LIB . 'callicore.php';
/**
* include our writer application
*/
include CALLICORE_WRITER . 'writer.php';
/**
* Create our application and run it
*/
$application = new Application;
$application->run();