Revision 3
includes/extra/testmodus/testmodus.php | ||
---|---|---|
2 | 2 |
|
3 | 3 |
if(!defined('DB_SERVER')){ |
4 | 4 |
|
5 |
define('DIR_FS_DOCUMENT_ROOT', '/homepages/123/456789/htdocs/'); |
|
6 |
|
|
5 |
define('DIR_FS_DOCUMENT_ROOT', '/homepages/123/456789/htdocs/');
|
|
6 |
|
|
7 | 7 |
$testfile = 'includes/testmodus.csv'; |
8 |
$path = HTTP_SERVER . DIR_WS_CATALOG; |
|
9 | 8 |
|
10 | 9 |
if(is_file(DIR_FS_DOCUMENT_ROOT.$testfile)) { |
11 | 10 |
if(constant("RUN_MODE_ADMIN") && RUN_MODE_ADMIN){ |
Auch abrufbar als: Unified diff