2013-09-25 03:04:44 +08:00
|
|
|
<?php
|
|
|
|
|
2014-05-30 09:42:22 +08:00
|
|
|
if (!defined('APP_VERSION'))
|
|
|
|
{
|
|
|
|
define('APP_VERSION', '0.0.0');
|
2014-05-07 05:35:12 +08:00
|
|
|
define('APP_INDEX_ROOT_FILE', __FILE__);
|
2014-04-18 23:34:24 +08:00
|
|
|
define('APP_INDEX_ROOT_PATH', str_replace('\\', '/', rtrim(dirname(__FILE__), '\\/').'/'));
|
2014-05-30 09:42:22 +08:00
|
|
|
}
|
2013-09-25 03:04:44 +08:00
|
|
|
|
2014-05-30 09:42:22 +08:00
|
|
|
if (file_exists(APP_INDEX_ROOT_PATH.'rainloop/v/'.APP_VERSION.'/index.php'))
|
|
|
|
{
|
2014-11-08 04:21:10 +08:00
|
|
|
include APP_INDEX_ROOT_PATH.'rainloop/v/'.APP_VERSION.'/index.php';
|
2014-05-30 09:42:22 +08:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo '[105] Missing version directory';
|
2014-07-16 02:45:15 +08:00
|
|
|
exit(105);
|
2014-05-30 09:42:22 +08:00
|
|
|
}
|