update PHPGW_INCLUDE_ROOT to show stocks on mainscreen

This commit is contained in:
bettina 2001-03-11 02:25:24 +00:00
parent cbd15ce2f9
commit 7c8b924b06

View File

@ -150,7 +150,7 @@
//echo '<a href="javascript:opennotifywindow()">Open notify window</a>'; //echo '<a href="javascript:opennotifywindow()">Open notify window</a>';
if ($phpgw_info["user"]["apps"]["stocks"] && $phpgw_info["user"]["preferences"]["stocks"]["enabled"]) { if ($phpgw_info["user"]["apps"]["stocks"] && $phpgw_info["user"]["preferences"]["stocks"]["enabled"]) {
include($phpgw_info["server"]["server_root"] . "/stocks/inc/functions.inc.php"); include(PHPGW_INCLUDE_ROOT . "/stocks/inc/functions.inc.php");
echo '<tr><td align="right">' . return_quotes($quotes) . '</td></tr>'; echo '<tr><td align="right">' . return_quotes($quotes) . '</td></tr>';
} }
$phpgw->common->hook('',array('email','calendar','news')); $phpgw->common->hook('',array('email','calendar','news'));