diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-08 10:42:59 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-08 10:42:59 -0700 |
commit | 69b13cb279d7b60cb3a7beb9ad39cfe3a3b7745b (patch) | |
tree | 090562b1fe512b14d8b675ecd54691f499c1792a /plugins/OStatus/OStatusPlugin.php | |
parent | f62e7c461f2fb4fcdc91b125072be953fc09fbe2 (diff) |
Normalize execution guards on OStatus php files; mostly helps cut down on annoying 'class not found' errors when something spiders the dirs. :P
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 9c6696439..4ab2023cb 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -22,7 +22,9 @@ * @maintainer Brion Vibber <brion@status.net> */ -if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET')) { + exit(1); +} set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib/'); |