# HG changeset patch # User Dan # Date 1241981090 14400 # Node ID e5abd87bccef3e39b113569bd0d090d11be31d04 # Parent e74741b8360bdd21915607828c21a90b47c919a8# Parent 25b1bdce985b3a13b577cd9649efad1c18dc7e5c Merging from accidental branch split diff -r e74741b8360b -r e5abd87bccef includes/common.php --- 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', '');