forked from the-djmaze/snappymail
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
21 lines (19 loc) · 584 Bytes
/
Copy pathindex.php
File metadata and controls
21 lines (19 loc) · 584 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
if (!defined('APP_VERSION'))
{
define('APP_VERSION', '0.0.0');
define('APP_INDEX_ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
}
if (file_exists(APP_INDEX_ROOT_PATH.'tachyon/v/'.APP_VERSION.'/include.php'))
{
include APP_INDEX_ROOT_PATH.'tachyon/v/'.APP_VERSION.'/include.php';
}
else
{
echo '[105] Missing tachyon/v/'.APP_VERSION.'/include.php';
// opcache_reset is a terrible solution
// is_callable('opcache_reset') && opcache_reset();
// opcache_invalidate will not do everything
is_callable('opcache_invalidate') && opcache_invalidate(__FILE__, true);
exit(105);
}