diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-06 20:12:04 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-06 20:12:04 +1000 |
| commit | 7f0de936082fb35d4e18fbadfe9849acdfc03ab6 (patch) | |
| tree | 37bc90513d794dbe804aae05837109af00e035be /inc/api.php | |
| parent | 8a244ab61e7e45f65667a8330b5d61fe918bffb2 (diff) | |
Cleaner check to make sure inc/ files aren't accessed directly.
Diffstat (limited to 'inc/api.php')
| -rw-r--r-- | inc/api.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/api.php b/inc/api.php index a8331590..74043912 100644 --- a/inc/api.php +++ b/inc/api.php @@ -3,6 +3,7 @@ * Copyright (c) 2010-2013 Tinyboard Development Group */ +defined('TINYBOARD') or exit; /** * Class for generating json API compatible with 4chan API |
