summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-09 13:41:22 +0400
committerAndrew Dolgov <[email protected]>2012-12-09 13:41:22 +0400
commit88e8fb3a7132d1321ab65b66a19a67df890c402d (patch)
treeb597639dfe7797a34efe0e348ef6e37a8a11b467 /mobile
parent51cc387347668e98b1b8e6c6053581a2affc5fa6 (diff)
modify include path order (closes #514)
Diffstat (limited to 'mobile')
-rw-r--r--mobile/image.php6
-rw-r--r--mobile/mobile-functions.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/mobile/image.php b/mobile/image.php
index eec72947f..765fcc240 100644
--- a/mobile/image.php
+++ b/mobile/image.php
@@ -1,8 +1,8 @@
<?php
- set_include_path(get_include_path() . PATH_SEPARATOR .
- dirname(__FILE__) . PATH_SEPARATOR .
+ set_include_path(dirname(__FILE__) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . PATH_SEPARATOR .
- dirname(dirname(__FILE__)) . "/include" );
+ dirname(dirname(__FILE__)) . "/include" . PATH_SEPARATOR .
+ get_include_path());
require_once "config.php";
diff --git a/mobile/mobile-functions.php b/mobile/mobile-functions.php
index c5bc71f80..ffd7ba80d 100644
--- a/mobile/mobile-functions.php
+++ b/mobile/mobile-functions.php
@@ -1,8 +1,8 @@
<?php
- set_include_path(get_include_path() . PATH_SEPARATOR .
- dirname(__FILE__) . PATH_SEPARATOR .
+ set_include_path(dirname(__FILE__) . PATH_SEPARATOR .
dirname(dirname(__FILE__)) . PATH_SEPARATOR .
- dirname(dirname(__FILE__)) . "/include" );
+ dirname(dirname(__FILE__)) . "/include" . PATH_SEPARATOR .
+ get_include_path());
require_once "functions.php";
require_once "sessions.php";