Fix web warnings

ryzomclassic-develop
kaetemi 3 years ago
parent 7e7494f897
commit 8adf8e228a
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -73,6 +73,6 @@
'level_name' => 'Administrator'), 'level_name' => 'Administrator'),
); );
$restart_notification_emails = array('support@ryzomcore.org'); $restart_notification_emails = array('support@ryzom.dev');
?> ?>

@ -148,6 +148,7 @@
{ {
if ($handle = opendir($dir)) if ($handle = opendir($dir))
{ {
$filelist = array();
while (($file = readdir($handle)) !== false) while (($file = readdir($handle)) !== false)
{ {
if (($file != '.') && ($file != '..')) if (($file != '.') && ($file != '..'))

@ -198,6 +198,7 @@
$tpl->assign('tool_frame_list', $tool_lowres_frames); $tpl->assign('tool_frame_list', $tool_lowres_frames);
$tpl->assign('tool_frame_selected', $view_time_lowframe); $tpl->assign('tool_frame_selected', $view_time_lowframe);
$rrd_webs = array();
if ($view_shard_id && $view_time_lowframe) if ($view_shard_id && $view_time_lowframe)
{ {
$graph_data_tmp = tool_graphs_get_list_v2($AS_RRDPath, strtolower($AS_InternalName), false); $graph_data_tmp = tool_graphs_get_list_v2($AS_RRDPath, strtolower($AS_InternalName), false);
@ -211,7 +212,6 @@
$graph_list = tool_graphs_find($tool_tech_graph_list, $graph_data_tmp['datas']); $graph_list = tool_graphs_find($tool_tech_graph_list, $graph_data_tmp['datas']);
nt_common_add_debug($graph_list); nt_common_add_debug($graph_list);
$rrd_webs = array();
reset($graph_list); reset($graph_list);
foreach($graph_list as $graph_item) foreach($graph_list as $graph_item)
{ {

Loading…
Cancel
Save