changeset 956 | 25b1bdce985b |
parent 945 | c19242d13a49 |
child 1081 | 745200a9cc2a |
--- a/includes/common.php Tue May 05 21:53:48 2009 -0400 +++ b/includes/common.php Tue May 05 22:06:23 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', '');