diff options
Diffstat (limited to 'p/api/index.php')
| -rw-r--r-- | p/api/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/index.php b/p/api/index.php index 08f7b6b7b..429b25225 100644 --- a/p/api/index.php +++ b/p/api/index.php @@ -14,7 +14,7 @@ <dl> <dt>Your API address:</dt> <dd><?php -require('../../constants.php'); +require(__DIR__ . '/../../constants.php'); require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader Minz_Configuration::register('system', DATA_PATH . '/config.php', FRESHRSS_PATH . '/config.default.php'); echo Minz_Url::display('/api/greader.php', 'html', true); |
