[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/16: System information : display variable
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/16: System information : display variable from config.inc.php |
Date: |
Tue, 20 Oct 2015 14:26:30 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d2540c6eb4be984ab680de7b1d4329c21087a078
Author: Dany De Bontridder <address@hidden>
Date: Mon Oct 19 16:07:56 2015 +0200
System information : display variable from config.inc.php
---
include/admin_repo.inc.php | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/include/admin_repo.inc.php b/include/admin_repo.inc.php
index dd3ea03..f292347 100644
--- a/include/admin_repo.inc.php
+++ b/include/admin_repo.inc.php
@@ -95,11 +95,24 @@ if ($action== 'audit_log')
require_once NOALYSS_INCLUDE."/audit_log.php";
}
if ( $action == "info") {
-
+ echo "<h2>"._('Variables').":".NOALYSS_INCLUDE.'/config.inc.php </h2>';
+ echo '<ul style="list-style:square">';
+ echo "<li>". "NOALYSS_HOME".":".NOALYSS_HOME."</li>";
+ echo "<li>"."NOALYSS_INCLUDE".":".NOALYSS_INCLUDE."</li>";
+ echo "<li>"."NOALYSS_TEMPLATE".":".NOALYSS_TEMPLATE."</li>";
+ echo "<li>"."DEBUG".":".DEBUG."</li>";
+ echo "<li>"."LOGINPUT".":".LOGINPUT."</li>";
+ echo "<li>"."LOCALE".":".LOCALE."</li>";
+ echo "<li>"."DOMAINE".":".domaine."</li>";
+ echo "<li>"."PG_PATH".":".PG_PATH."</li>";
+ echo "<li>"."PG_DUMP".":".PG_DUMP."</li>";
+ echo "<li>"."PG_RESTORE".":".PG_RESTORE."</li>";
+ echo "<li>"."PSQL".":".PSQL."</li>";
+ echo "</ul>";
echo "<h2>"._("Paramètre base de données")."</h2>";
$a_option = array ("client_encoding","lc_collate","listen_addresses",
"server_encoding","work_mem","shared_buffers","server_version",
- "hba_file","config_file","data_directory");
+ "hba_file","config_file","data_directory","effective_cache_size");
echo '<ul style="list-style:square">';
echo "<li>";
echo _('Hôte')." = ".noalyss_psql_host;
@@ -149,6 +162,9 @@ hr {width: 600px; background-color: #cccccc; border: 0px;
height: 1px; color: #0
echo $html->saveHTML();
}
+if ( $action == "upgrade" ) {
+ require_once NOALYSS_INCLUDE."/upgrade.inc.php";
+}
?>
</DIV>
<?php
- [Noalyss-commit] [noalyss] branch master updated (659cbc6 -> 02d8767), Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 02/16: Rename file admin_repo by admin_repo.inc, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 05/16: Administration : add information about system, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 01/16: Move Admin_repo to include , add setup.php for redirecting Move user_menu to include/lib, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 06/16: System information : display variable from config.inc.php,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 08/16: Administration : add information about system update all the databases + account_repository, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 11/16: Force the login in lower case in table where it is used, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 09/16: System information : display variable from config.inc.php, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 07/16: Administration : add information about system update all the databases + account_repository, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 04/16: Restructure file , remove html/admin/sql , backup ..., Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 10/16: Administration : update MULTI, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 14/16: remove obsolete file, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 15/16: Improve installation system, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 12/16: force login user to lower case for ACTION_GESTION, Dany De Bontridder, 2015/10/20
- [Noalyss-commit] [noalyss] 03/16: Restructure file , remove html/admin , backup ..., Dany De Bontridder, 2015/10/20