2010-05-25 Raul Mateos <raulofpandora@gmail.com>
* extensions/update_manager/lib/*.php: Updated year, clean code. * extensions/update_manager/lib/libupdate_manager.php: Improved usability. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
acee408571
commit
3c277e1e56
|
@ -1,3 +1,9 @@
|
|||
2010-05-25 Raúl Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* extensions/update_manager/lib/*.php: Updated year, clean code.
|
||||
|
||||
* extensions/update_manager/lib/libupdate_manager.php: Improved usability.
|
||||
|
||||
2010-05-24 Sancho Lerena <slerena@gmail.com>
|
||||
|
||||
* group_view.php: Much nicer view of group view. Added
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
//Pandora FMS- http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
|
@ -15,7 +15,43 @@
|
|||
/* PEAR DB manage abstraction */
|
||||
$prev_level = error_reporting (0);
|
||||
if ((include_once ('DB.php')) != 1)
|
||||
die ('<p>PEAR::DB not found. Please install it with: <pre>pear install DB</pre></p>');
|
||||
die ('
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Pandora FMS - The Flexible Monitoring System - Console error</title>
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf8">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="author" content="Sancho Lerena">
|
||||
<meta name="copyright" content="This is GPL software. Created by Sancho Lerena and others">
|
||||
<meta name="keywords" content="pandora, monitoring, system, GPL, software">
|
||||
<meta name="robots" content="index, follow">
|
||||
<link rel="icon" href="images/pandora.ico" type="image/ico">
|
||||
<link rel="stylesheet" href="include/styles/pandora.css" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="main" style="float:left; margin-left: 100px">
|
||||
<div align="center">
|
||||
<div id="login_f">
|
||||
<h1 id="log_f" class="error">PEAR::DB not found</h1>
|
||||
<div>
|
||||
<img src="images/pandora_logo.png" border="0"></a>
|
||||
</div>
|
||||
<div class="msg">
|
||||
<span class="error"><b>ERROR:</b> PEAR::DB not found</span>
|
||||
<p>
|
||||
Please install it from command line with:
|
||||
<pre>sudo pear install DB</pre>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
');
|
||||
|
||||
error_reporting ($prev_level);
|
||||
unset ($prev_level);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
|
@ -13,7 +13,6 @@
|
|||
// GNU General Public License for more details.
|
||||
|
||||
|
||||
|
||||
function um_component_database_get_data ($component_db) {
|
||||
$db = um_component_db_connect ();
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
|
@ -26,7 +26,7 @@ function is_binary ($filepath) {
|
|||
return false;
|
||||
}
|
||||
|
||||
function directory_to_array ($directory, $ignores = NULL, $only_binary_files = false) {
|
||||
function directory_to_array ($directory, $ignores = NULL, $only_binary_files = false) {
|
||||
if (! $ignores)
|
||||
$ignores = array ('.', '..');
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
|
|
Loading…
Reference in New Issue