changeset 961 | e5abd87bccef |
parent 956 | 25b1bdce985b |
child 1081 | 745200a9cc2a |
--- a/includes/common.php Sun May 10 14:44:37 2009 -0400 +++ b/includes/common.php Sun May 10 14:44:50 2009 -0400 @@ -449,6 +449,12 @@ $output = new $class(); + // Are we running from the API? If so, did the page set a title? + if ( !defined('ENANO_INTERFACE_INDEX') && !defined('ENANO_INTERFACE_AJAX') && isset($title) ) + { + $output->set_title($title); + } + // We're ready for whatever life throws us now, at least from an API point of view. define('ENANO_MAINSTREAM', '');