diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-20 21:35:16 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-20 21:35:16 +0000 |
| commit | c61760317976483bd0a4202f238703afd5e228d4 (patch) | |
| tree | 0d3f4b89c5e7d653881becbe92b1a2d296da3cf3 /inc/api.php | |
| parent | 31aad827add4abfe6ece70a916967b9e09ec2511 (diff) | |
;_;
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 */ |
