aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/admin/create_thumbnails.php4
-rw-r--r--actions/admin/flickrSetup.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/actions/admin/create_thumbnails.php b/actions/admin/create_thumbnails.php
index 18dae6b78..a09965f65 100644
--- a/actions/admin/create_thumbnails.php
+++ b/actions/admin/create_thumbnails.php
@@ -5,8 +5,8 @@
* Called through ajax
*/
-include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";
-include dirname(dirname(__FILE__)) . "/lib/resize.php";
+include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php";
+include dirname(dirname(dirname(__FILE__))) . "/lib/resize.php";
global $CONFIG;
diff --git a/actions/admin/flickrSetup.php b/actions/admin/flickrSetup.php
index ee31b8c34..1eaf9a037 100644
--- a/actions/admin/flickrSetup.php
+++ b/actions/admin/flickrSetup.php
@@ -2,7 +2,7 @@
/**
* Setup the user's flickr username and store it
*/
-require_once dirname(dirname(__FILE__)) . "/lib/phpFlickr/phpFlickr.php";
+require_once dirname(dirname(dirname(__FILE__))) . "/lib/phpFlickr/phpFlickr.php";
$f = new phpFlickr("26b2abba37182aca62fe0eb2c7782050");
$flickr_username = get_input( "flickr_username" );