Minor code style update - avoiding parse error by phpLint

skala
Yannick Warnier 13 years ago
parent c1bc14ec81
commit cd11f321f4
  1. 36
      main/install/update-files-1.8.8-1.9.0.inc.php

@ -55,24 +55,24 @@ if (defined('SYSTEM_INSTALLATION')) {
if (!$found_software_url) { if (!$found_software_url) {
fwrite($fh, '$_configuration[\'software_url\'] = \'' . $software_url . '\';' . "\r\n"); fwrite($fh, '$_configuration[\'software_url\'] = \'' . $software_url . '\';' . "\r\n");
} }
$string = <<<EOP $string = "
//============================================================================ //===========================================================================\n
// Hosting settings - Allows you to set limits to the Chamilo portal when // Hosting settings - Allows you to set limits to the Chamilo portal when\n
// hosting it for a third party. These settings can be overwritten by an // hosting it for a third party. These settings can be overwritten by an\n
// optionally-loaded extension file with only the settings (no comments). // optionally-loaded extension file with only the settings (no comments).\n
//============================================================================ //===========================================================================\n
// Set a maximum number of users. Default (0) = no limit // Set a maximum number of users. Default (0) = no limit\n
$_configuration['hosting_limit_users'] = 0; ".'$'."_configuration['hosting_limit_users'] = 0;\n
// Set a maximum number of teachers. Default (0) = no limit // Set a maximum number of teachers. Default (0) = no limit\n
$_configuration['hosting_limit_teachers'] = 0; ".'$'."_configuration['hosting_limit_teachers'] = 0;\n
// Set a maximum number of courses. Default (0) = no limit // Set a maximum number of courses. Default (0) = no limit\n
$_configuration['hosting_limit_courses'] = 0; ".'$'."_configuration['hosting_limit_courses'] = 0;\n
// Set a maximum number of sessions. Default (0) = no limit // Set a maximum number of sessions. Default (0) = no limit\n
$_configuration['hosting_limit_sessions'] = 0; ".'$'."_configuration['hosting_limit_sessions'] = 0;\n
// Set a maximum disk space used, in MB (set to 1024 for 1GB, 5120 for 5GB). // Set a maximum disk space used, in MB (set to 1024 for 1GB, 5120 for 5GB).\n
// Default (0) = no limit // Default (0) = no limit\n
$_configuration['hosting_limit_disk_space'] = 0; ".'$'."_configuration['hosting_limit_disk_space'] = 0;\n
EOP; ";
fwrite($fh, $string); fwrite($fh, $string);
fwrite($fh, '?>'); fwrite($fh, '?>');
fclose($fh); fclose($fh);

Loading…
Cancel
Save