|
Revision 835
(checked in by goldoraf, 2 years ago)
|
Added skeleton of notifier demo app
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
// Uncomment below to force Stato in production mode |
|---|
| 4 |
// when you don't control web server |
|---|
| 5 |
// $_SERVER['STATO_ENV'] = 'production'; |
|---|
| 6 |
|
|---|
| 7 |
// Dont't change code below. Configuration is done in conf/environment.php |
|---|
| 8 |
|
|---|
| 9 |
define('STATO_TIME_START', microtime(true)); |
|---|
| 10 |
define('STATO_CORE_PATH', '/path/to/stato'); |
|---|
| 11 |
define('STATO_APP_ROOT_PATH', str_replace('\\', '/', realpath(dirname(__FILE__).'/..'))); |
|---|
| 12 |
define('STATO_ENV', ((isset($_SERVER['STATO_ENV'])) ? $_SERVER['STATO_ENV'] : 'development')); |
|---|
| 13 |
|
|---|
| 14 |
require(STATO_CORE_PATH.'/common/lib/initializer.php'); |
|---|
| 15 |
|
|---|
| 16 |
SInitializer::boot(); |
|---|
| 17 |
|
|---|
| 18 |
?> |
|---|