# - changed permissions of database.inc.php twice: first to 0644 (before) # then to 0440 (after writing the file) # - changed permissions on a few directories from 0777 to 0755 # (nevermind that there seems to be an error in the path to 'media', # 'studentpages' and 'languages') # - removed three trailing spaces in tablenames in database.inc.php # (sections, studentpages, classes). # - we now properly close the file database.inc.php after writing to it # - changed default value for 'file_permissions' from 0777 to 0755 when # filling configuration table # ############################################################################ # LICENSE INFORMATION # # This program 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. # # This program 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 this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ############################################################################## define('IN_SAS', true); if (IsSet ($_GET['language'])) { $language = $_GET['language']; } $valid_langs = array ( "NL", "EN", "DE", "ES", "DA", "FR" ); $language = strtoupper($language); if ((in_array($language, $valid_langs)) AND (file_exists($language . ".php"))) { include ($language . ".php"); } else { include ("EN.php"); } include ("../core/common.inc.php"); ?>
|
";
if (file_exists("$serverpath$userpath/configuration/database.inc.php") == FALSE)
{
print " " . $sas_lang['lang_install_47']; } else { print " $serverpath$userpath/configuration/database.inc.php " . $sas_lang['lang_install_48']; } print " " . $sas_lang['lang_install_49'] . " |