diff options
Diffstat (limited to 'mod/prep.php')
-rw-r--r-- | mod/prep.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/prep.php b/mod/prep.php index e53f7ac4e..7cff34bfc 100644 --- a/mod/prep.php +++ b/mod/prep.php @@ -2,6 +2,15 @@ function prep_content(&$a) { + + $poco_rating = get_config('system','poco_rating_enable'); + // if unset default to enabled + if($poco_rating === false) + $poco_rating = true; + + if(! $poco_rating) + return; + if(argc() > 1) $hash = argv(1); |