From ed142a5e5d47b4e41ebb35ec51d50eba98a3d44b Mon Sep 17 00:00:00 2001 From: ctrlcctrlv Date: Tue, 20 Aug 2013 21:35:16 +0000 Subject: ;_; --- inc/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/api.php') diff --git a/inc/api.php b/inc/api.php index 5e4cc88a..9cad8ba0 100644 --- a/inc/api.php +++ b/inc/api.php @@ -8,7 +8,8 @@ * Class for generating json API compatible with 4chan API */ class Api { - function __construct($config){ + function __construct(){ + global $config; /** * Translation from local fields to fields in 4chan-style API */ -- cgit v1.3