From af1a42e6539b3e1868d84a567b0f7bba49f3eec2 Mon Sep 17 00:00:00 2001 From: Laurent Giovannoni <laurent.giovannoni@maarch.org> Date: Wed, 16 May 2012 10:14:40 +0000 Subject: [PATCH] evo: maarch licence --- core/trunk/install/ajax.php | 28 +++++++++++++++++ core/trunk/install/class/Class_Install.php | 30 +++++++++++++++++++ core/trunk/install/class/Class_Merge.php | 29 ++++++++++++++++++ .../controller/database_controller.php | 29 ++++++++++++++++++ .../controller/docservers_controller.php | 29 ++++++++++++++++++ .../install/controller/error_controller.php | 29 ++++++++++++++++++ .../controller/language_controller.php | 29 ++++++++++++++++++ .../install/controller/licence_controller.php | 29 ++++++++++++++++++ .../controller/password_controller.php | 29 ++++++++++++++++++ .../controller/prerequisites_controller.php | 29 ++++++++++++++++++ .../install/controller/resume_controller.php | 29 ++++++++++++++++++ .../install/controller/welcome_controller.php | 29 ++++++++++++++++++ core/trunk/install/error.php | 28 +++++++++++++++++ core/trunk/install/final.php | 29 ++++++++++++++++++ core/trunk/install/index.php | 29 ++++++++++++++++++ core/trunk/install/scripts/database.php | 28 +++++++++++++++++ core/trunk/install/scripts/docservers.php | 29 ++++++++++++++++++ core/trunk/install/scripts/language.php | 29 ++++++++++++++++++ core/trunk/install/scripts/password.php | 29 ++++++++++++++++++ 19 files changed, 549 insertions(+) diff --git a/core/trunk/install/ajax.php b/core/trunk/install/ajax.php index 4fdb78405ae..c82526911b3 100644 --- a/core/trunk/install/ajax.php +++ b/core/trunk/install/ajax.php @@ -1,4 +1,32 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ include_once '../core/init.php'; diff --git a/core/trunk/install/class/Class_Install.php b/core/trunk/install/class/Class_Install.php index 0e5fa5e0c9b..fa55042c470 100755 --- a/core/trunk/install/class/Class_Install.php +++ b/core/trunk/install/class/Class_Install.php @@ -1,4 +1,34 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Laurent Giovannoni +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //Loads the required class try { require_once 'core/class/class_functions.php'; diff --git a/core/trunk/install/class/Class_Merge.php b/core/trunk/install/class/Class_Merge.php index 3fe00c28544..315bf61b9f1 100755 --- a/core/trunk/install/class/Class_Merge.php +++ b/core/trunk/install/class/Class_Merge.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + class Merge { function __construct() diff --git a/core/trunk/install/controller/database_controller.php b/core/trunk/install/controller/database_controller.php index c3210fdd077..20b9d72d26d 100755 --- a/core/trunk/install/controller/database_controller.php +++ b/core/trunk/install/controller/database_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLE diff --git a/core/trunk/install/controller/docservers_controller.php b/core/trunk/install/controller/docservers_controller.php index cfb714bae8d..457a02fdb43 100755 --- a/core/trunk/install/controller/docservers_controller.php +++ b/core/trunk/install/controller/docservers_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLE diff --git a/core/trunk/install/controller/error_controller.php b/core/trunk/install/controller/error_controller.php index 3200a0f7800..ca1101f8795 100755 --- a/core/trunk/install/controller/error_controller.php +++ b/core/trunk/install/controller/error_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER $error = $_REQUEST['error']; switch ($error) { diff --git a/core/trunk/install/controller/language_controller.php b/core/trunk/install/controller/language_controller.php index 71fce4acbae..fdcdf11763c 100755 --- a/core/trunk/install/controller/language_controller.php +++ b/core/trunk/install/controller/language_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLES $shortTitle = _LANGUAGE; diff --git a/core/trunk/install/controller/licence_controller.php b/core/trunk/install/controller/licence_controller.php index 61b9331ce5a..03e0939d8d3 100755 --- a/core/trunk/install/controller/licence_controller.php +++ b/core/trunk/install/controller/licence_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLE diff --git a/core/trunk/install/controller/password_controller.php b/core/trunk/install/controller/password_controller.php index 12fc7941d50..f6651b68a35 100755 --- a/core/trunk/install/controller/password_controller.php +++ b/core/trunk/install/controller/password_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLE diff --git a/core/trunk/install/controller/prerequisites_controller.php b/core/trunk/install/controller/prerequisites_controller.php index 85e70ab4e99..07af90ffb1d 100755 --- a/core/trunk/install/controller/prerequisites_controller.php +++ b/core/trunk/install/controller/prerequisites_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLE diff --git a/core/trunk/install/controller/resume_controller.php b/core/trunk/install/controller/resume_controller.php index 95f6e64c2fa..d8343d245e0 100755 --- a/core/trunk/install/controller/resume_controller.php +++ b/core/trunk/install/controller/resume_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLE diff --git a/core/trunk/install/controller/welcome_controller.php b/core/trunk/install/controller/welcome_controller.php index 34cd04f7439..cefcdd4b1d3 100755 --- a/core/trunk/install/controller/welcome_controller.php +++ b/core/trunk/install/controller/welcome_controller.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //CONTROLLER //TITLE diff --git a/core/trunk/install/error.php b/core/trunk/install/error.php index 3b38695a18b..9972d795800 100755 --- a/core/trunk/install/error.php +++ b/core/trunk/install/error.php @@ -1,4 +1,32 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ include_once '../core/init.php'; diff --git a/core/trunk/install/final.php b/core/trunk/install/final.php index 3119c65d8b1..011717b53b6 100644 --- a/core/trunk/install/final.php +++ b/core/trunk/install/final.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + include_once '../core/init.php'; //write semaphore installed.lck diff --git a/core/trunk/install/index.php b/core/trunk/install/index.php index 3b357be2139..7020248f0a0 100755 --- a/core/trunk/install/index.php +++ b/core/trunk/install/index.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //MODEL include_once '../core/init.php'; require_once('install/class/Class_Install.php'); diff --git a/core/trunk/install/scripts/database.php b/core/trunk/install/scripts/database.php index a2baf2c40a7..ac9103eed63 100644 --- a/core/trunk/install/scripts/database.php +++ b/core/trunk/install/scripts/database.php @@ -1,4 +1,32 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ if ($_REQUEST['action'] == 'testConnect') { $_SESSION['config']['databaseserver'] = $_REQUEST['databaseserver']; diff --git a/core/trunk/install/scripts/docservers.php b/core/trunk/install/scripts/docservers.php index dde9d0ef06e..64c0b7ffbba 100644 --- a/core/trunk/install/scripts/docservers.php +++ b/core/trunk/install/scripts/docservers.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + $_REQUEST['docserverRoot'] = str_replace("/", DIRECTORY_SEPARATOR, $_REQUEST['docserverRoot']); $checkDocserverRoot = $Class_Install->checkDocserverRoot( diff --git a/core/trunk/install/scripts/language.php b/core/trunk/install/scripts/language.php index b0e2a75816c..9e9672705c9 100755 --- a/core/trunk/install/scripts/language.php +++ b/core/trunk/install/scripts/language.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //MODEL include_once '../../core/init.php'; diff --git a/core/trunk/install/scripts/password.php b/core/trunk/install/scripts/password.php index 5afecf16594..8fd6e535c6c 100644 --- a/core/trunk/install/scripts/password.php +++ b/core/trunk/install/scripts/password.php @@ -1,4 +1,33 @@ <?php +/* +* Copyright 2008-2012 Maarch +* +* This file is part of Maarch Framework. +* +* Maarch Framework 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 3 of the License, or +* (at your option) any later version. +* +* Maarch Framework 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 Maarch Framework. If not, see <http://www.gnu.org/licenses/>. +*/ + +/** +* @brief class of install tools +* +* @file +* @author Arnaud Veber +* @date $date$ +* @version $Revision$ +* @ingroup install +*/ + //MODEL include_once '../../core/init.php'; require_once('install/class/Class_Install.php'); -- GitLab