]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - plugins/config_blocks/index.php
Move to new style config, with config in config/ directory.
[irc/unrealircd/unrealircd-webpanel.git] / plugins / config_blocks / index.php
index b475a60f389bdfbe5b3a113f6a1e30fe401ac4b0..34e9d03445439231dfeafea84890b36f6e8fc923 100644 (file)
@@ -3,7 +3,7 @@
 require_once "../../common.php";
 if (!current_user_can(PERMISSION_CONFIG_BLOCKS))
 {
-    header("Location: ".BASE_URL);
+    header("Location: ".get_config("base_url"));
     die();
 }
 require_once "../../header.php";