diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-20 21:35:16 +0000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-21 22:35:19 +1000 |
| commit | ed142a5e5d47b4e41ebb35ec51d50eba98a3d44b (patch) | |
| tree | 94142e53d594402681474cfbf96ef3204e4f312a /inc/api.php | |
| parent | ddd34347f8f6bf1b47e06c621419e03dca3eb00c (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 */ |
