Commit c520b693 authored by Denis Bonnenfant's avatar Denis Bonnenfant
Browse files

mise en cache des requetes pour les scripts application

parent ff156436
sambaedu-wpkg (4.7.0) UNRELEASED; urgency=medium
sambaedu-wpkg (4.7.1) UNRELEASED; urgency=medium
[ Denis Bonnenfant ]
* Paquets stables
......@@ -8,7 +8,7 @@ sambaedu-wpkg (4.7.0) UNRELEASED; urgency=medium
* Nouvelle version stable avec support Bullseye
* Nouvelle version stable avec support Bullseye
-- Denis Bonnenfant <denis.bonnenfant@sambaedu.org> Thu, 21 Oct 2021 17:50:18 +0200
-- denis <denis@bureau> Sun, 12 Dec 2021 23:42:29 +0100
sambaedu-wpkg (4.0.0~beta69) UNRELEASED; urgency=medium
......
sambaedu-wpkg_4.7.0_all.deb net extra
sambaedu-wpkg_4.7.0_amd64.buildinfo net extra
sambaedu-wpkg_4.7.1_all.deb net extra
sambaedu-wpkg_4.7.1_amd64.buildinfo net extra
......@@ -8,12 +8,13 @@ include ("wpkg_lib.php");
include ("wpkg_libsql.php");
include ("ldap.inc.php");
$nom_poste = $_GET["poste"] ?? $_POST["poste"] ?? "";
if (empty($nom_poste)) {
$id = $_GET["id"] ?? $_POST["id"] ?? "";
if (empty($id)) {
exit();
}
$info = apcu_fetch("apps." . $id);
$liste_applications = $info['liste_applications'];
$liste_applications = array_map('strtolower', array_column(array_column(info_poste_applications($config, $nom_poste), "info_app"), "id_nom_app"));
$xml = new DOMDocument();
$xml->formatOutput = true;
$xml->preserveWhiteSpace = false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment