$cat_name: ".$query.mysql_error());
-
+
header("Location: linkcategories.php");
break;
- } // end edit
+ } // end editedcat
default:
{
$standalone=0;
- include_once ("./b2header.php");
+ require_once ("./b2header.php");
if ($user_level < $minadminlevel) {
die("You have no right to edit the link categories for this blog. Ask for a promotion to your blog admin :)");
}
diff --git a/linkmanager.php b/linkmanager.php
index a837e4f9cf..e0391a6bd8 100644
--- a/linkmanager.php
+++ b/linkmanager.php
@@ -27,8 +27,8 @@
// Mike Little (mike@zed1.com)
// *****************************************************************
-include_once('links.config.php');
-include_once("./links.php");
+require_once('wp-links/links.config.php');
+require_once("wp-links/links.php");
$title = "Manage Links";
@@ -75,7 +75,7 @@ switch ($action) {
case "Add":
{
$standalone = 1;
- include_once("./b2header.php");
+ require_once("./b2header.php");
$link_url = $HTTP_POST_VARS["linkurl"];
$link_name = $HTTP_POST_VARS["name"];
@@ -124,7 +124,7 @@ switch ($action) {
$links_show_cat_id = $cat_id;
$standalone = 1;
- include_once("./b2header.php");
+ require_once("./b2header.php");
$link_id = $HTTP_POST_VARS["link_id"];
$link_url = $HTTP_POST_VARS["linkurl"];
@@ -167,7 +167,7 @@ switch ($action) {
case "Delete":
{
$standalone = 1;
- include_once("./b2header.php");
+ require_once("./b2header.php");
$link_id = $HTTP_POST_VARS["link_id"];
@@ -192,7 +192,7 @@ switch ($action) {
case "linkedit":
{
$standalone=0;
- include_once ("./b2header.php");
+ require_once ("./b2header.php");
if ($user_level < $minadminlevel) {
die("You have no right to edit the links for this blog. Ask for a promotion to your blog admin :)");
}
@@ -326,7 +326,7 @@ switch ($action) {
$order_by = 'order_id';
setcookie('links_show_cat_id', $links_show_cat_id, time()+600);
$standalone=0;
- include_once ("./b2header.php");
+ require_once ("./b2header.php");
if ($user_level < $minadminlevel) {
die("You have no right to edit the links for this blog. Ask for a promotion to your blog admin :)");
}