Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/YOURLS/YOURLS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorozhozh <ozhozh@12232710-3e20-11de-b438-597f59cd7555>2009-05-13 01:21:41 +0400
committerozhozh <ozhozh@12232710-3e20-11de-b438-597f59cd7555>2009-05-13 01:21:41 +0400
commitaa219abe12f5e7d93d19c7a15d12ab434efb6001 (patch)
tree8caa9d0f8550e0586df03f5a7a0aa0b63ec87254 /yourls-api.php
parentb75a45901345f51ef5c6b780876411016d109e78 (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.php2
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';