diff --git a/html/user/forum_rate.php b/html/user/forum_rate.php index 5ab85727e9..4a6249fd23 100644 --- a/html/user/forum_rate.php +++ b/html/user/forum_rate.php @@ -4,7 +4,15 @@ **/ require_once('../inc/forum.inc'); require_once('../inc/forum_std.inc'); +require_once('../inc/util.inc'); +$config = get_config(); +if (parse_element($config,"")) { + page_head("Rating offline"); + echo "This function is turned off by the project"; + page_tail(); + exit(0); + } db_init();