]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Fix another script path for plugins
authorValerie Pond <redacted>
Wed, 11 Jan 2023 23:56:35 +0000 (23:56 +0000)
committerValerie Pond <redacted>
Wed, 11 Jan 2023 23:56:35 +0000 (23:56 +0000)
plugins.php

index 0f044267d87bf34c4ce685ca16e138245c24d221..969479ec953e8b4238a8b4ef57e6715e42f38da3 100644 (file)
@@ -67,7 +67,7 @@ class Plugin
 
                else
                {
-                       require_once "plugins/$handle/$handle.php";
+                       require_once UPATH."/plugins/$handle/$handle.php";
 
                        if (!class_exists($handle))
                                $this->error = "Class \"$handle\" doesn't exist";