aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/admin.php (renamed from admin.php)2
-rw-r--r--start.php2
-rw-r--r--views/default/admin/tidypics.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/admin.php b/pages/admin.php
index e881c5ecd..2cebc3a28 100644
--- a/admin.php
+++ b/pages/admin.php
@@ -5,7 +5,7 @@
*
*******************************************************************/
- include_once dirname(dirname(dirname(__FILE__))) . "/engine/start.php";
+ include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";
global $CONFIG;
diff --git a/start.php b/start.php
index d88f7497a..0f73694d3 100644
--- a/start.php
+++ b/start.php
@@ -208,7 +208,7 @@
{
global $CONFIG;
if (get_context() == 'admin' && isadminloggedin()) {
- add_submenu_item(elgg_echo('tidypics:administration'), $CONFIG->url . "mod/tidypics/admin.php");
+ add_submenu_item(elgg_echo('tidypics:administration'), $CONFIG->url . "mod/tidypics/pages/admin.php");
}
}
diff --git a/views/default/admin/tidypics.php b/views/default/admin/tidypics.php
index 66bfc29d9..bef2da389 100644
--- a/views/default/admin/tidypics.php
+++ b/views/default/admin/tidypics.php
@@ -19,8 +19,8 @@
<div class="contentWrapper">
<div id="elgg_horizontal_tabbed_nav">
<ul>
- <li <?php echo $settingsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/admin.php?tab=settings'; ?>"><?php echo elgg_echo('tidypics:settings'); ?></a></li>
- <li <?php echo $statsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/admin.php?tab=stats'; ?>"><?php echo elgg_echo('tidypics:stats'); ?></a></li>
+ <li <?php echo $settingsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=settings'; ?>"><?php echo elgg_echo('tidypics:settings'); ?></a></li>
+ <li <?php echo $statsselect; ?>><a href="<?php echo $CONFIG->wwwroot . 'mod/tidypics/pages/admin.php?tab=stats'; ?>"><?php echo elgg_echo('tidypics:stats'); ?></a></li>
</ul>
</div>
<?php