diff --git a/components/forum.php b/components/forum.php
index ec24eabab7fe2720f1285c5df8fa54d6d85c4989..b00b003e8c40db0125f693dfc3ba4c330cebe164 100644
--- a/components/forum.php
+++ b/components/forum.php
@@ -2,7 +2,7 @@
 
 // Forum integration component
 
-$punbb_base = "/usr/share/punbb";
+$punbb_base = "$base/lib/punbb";
 
 // Attempt to divine which punbb file is wanted
 $file_index = array_search("Forum", $pathlist) + 1;