diff options
author | ozhozh <ozhozh@12232710-3e20-11de-b438-597f59cd7555> | 2009-05-13 01:21:41 +0400 |
---|---|---|
committer | ozhozh <ozhozh@12232710-3e20-11de-b438-597f59cd7555> | 2009-05-13 01:21:41 +0400 |
commit | aa219abe12f5e7d93d19c7a15d12ab434efb6001 (patch) | |
tree | 8caa9d0f8550e0586df03f5a7a0aa0b63ec87254 /yourls-api.php | |
parent | b75a45901345f51ef5c6b780876411016d109e78 (diff) |
FIX: require() with absolute paths
git-svn-id: http://yourls.googlecode.com/svn/trunk@12 12232710-3e20-11de-b438-597f59cd7555
Diffstat (limited to 'yourls-api.php')
-rw-r--r-- | yourls-api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yourls-api.php b/yourls-api.php index 78435714..46dc85c6 100644 --- a/yourls-api.php +++ b/yourls-api.php @@ -1,6 +1,6 @@ <?php
### Require Files
-require_once 'includes/config.php';
+require_once( dirname(__FILE__).'/includes/config.php' );
if (defined('YOURLS_PRIVATE') && YOURLS_PRIVATE == true)
require_once 'includes/auth.php';
|