diff options
Diffstat (limited to 'inc/api.php')
| -rw-r--r-- | inc/api.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |
