//
// This file is part of Lucterios.
//
// Lucterios is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// Lucterios is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Lucterios; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
// Contributeurs: Fanny ALLEAUME, Pierre-Olivier VERSCHOORE, Laurent GAY
//
if (is_dir("./cms")) {
header('Location: ./cms');
exit;
}
if (is_dir("./joomla")) {
header('Location: ./joomla');
exit;
}
header('Content-Type: text/html; charset=ISO-8859-1');
$appli_dir="./applis";
if (!is_dir($appli_dir)) $appli_dir="./extensions/applis";
if (is_file($appli_dir."/application.inc.php")) {
include $appli_dir."/application.inc.php";
$copy_right=application_CopyRight();
}
else
$copy_right='CopyRight Lucterios.org';
if (is_file($appli_dir."/setup.inc.php")) {
include "./CORE/setup_param.inc.php";
include $appli_dir."/setup.inc.php";
} else {
$extention_description='Lucterios';
$extention_appli='Lucterios';
}
function getSubFolder($dir)
{
$list=array();
$dh = opendir($dir);
while (($file = readdir($dh)) != false)
{
if(($file[0]!='.') && is_dir($dir.$file) && is_file($dir.$file.'/index.php'))
$list[]=array($file,$dir.$file);
}
return $list;
}
$list_sub_folder=array_merge(getSubFolder('./UpdateClients/'),getSubFolder('./'));
?>
|
echo $extention_description;?>
|
|
Clients de connnexion
Séléctionnez le client que vous voulez utiliser.
foreach($list_sub_folder as $sub_folder) {
$name=$sub_folder[0];
$index=$sub_folder[1].'/index.php';
if (is_file($sub_folder[1].'/version.txt'))
$version=str_replace(' ','.',trim(file_get_contents($sub_folder[1].'/version.txt')));
else
$version='?.?.?.?';
echo "$name | Version $version | ";
}
?>
|
echo $copy_right;?> - Mise à jour echo date ("d/m/Y", filemtime("index.php")); ?>
|
|