installer.php

来自「很棒的在线教学系统」· PHP 代码 · 共 318 行 · 第 1/2 页

PHP
318
字号
$string['fileuploadserror'] = 'This should be on';$string['fileuploadshelp'] = '<p>File uploading seems to be disabled on your server.</p><p>Moodle can still be installed, but without this ability, you will not be able    to upload course files or new user profile images.</p><p>To enable file uploading you (or your system administrator) will need to    edit the main php.ini file on your system and change the setting for    <b>file_uploads</b> to \'1\'.</p>';$string['gdversion'] = 'GD version';$string['gdversionerror'] = 'The GD library should be present to process and create images';$string['gdversionhelp'] = '<p>Your server does not seem to have GD installed.</p><p>GD is a library that is required by PHP to allow Moodle to process images    (such as the user profile icons) and to create new images (such as    the log graphs).  Moodle will still work without GD - these features    will just not be available to you.</p><p>To add GD to PHP under Unix, compile PHP using the --with-gd parameter.</p><p>Under Windows you can usually edit php.ini and uncomment the line referencing php_gd2.dll.</p>';$string['globalsquotes'] = 'Insecure Handling of Globals';$string['globalsquoteserror'] = 'Fix your PHP settings: disable register_globals and/or enable magic_quotes_gpc';$string['globalsquoteshelp'] = '<p>Combination of disabled Magic Quotes GPC and enabled Register Globals both at the same time is not recommended.</p><p>The recommended setting is <b>magic_quotes_gpc = On</b> and <b>register_globals = Off</b> in your php.ini</p><p>If you don\'t have access to your php.ini, you might be able to place the following line in a file    called .htaccess within your Moodle directory:</p>   <blockquote><div>php_value magic_quotes_gpc On</div></blockquote>   <blockquote><div>php_value register_globals Off</div></blockquote>';$string['globalswarning'] = '<p><strong>SECURITY WARNING!</strong></p><p> To operate properly, Moodle requires <br />that you make certain changes to your current PHP settings.</p><p>You <em>must</em> set <code>register_globals=off</code>.</p><p>This setting is controlled by editing your <code>php.ini</code>, Apache/IIS <br />configuration or <code>.htaccess</code> file.</p>';$string['help'] = 'Help';$string['iconvrecommended'] = 'Installing the optional ICONV library is highly recommended in order to improve site performance, particularly if your site is supporting non-Latin languages.';$string['info'] = 'Information';$string['installation'] = 'Installation';$string['invalidmd5'] = 'Invalid md5';$string['langdownloaderror'] = 'Unfortunately the language \"$a\" was not installed. The installation process will continue in English.';$string['langdownloadok'] = 'The language \"$a\" was installed successfully. The installation process will continue in this language.';$string['language'] = 'Language';$string['magicquotesruntime'] = 'Magic Quotes Run Time';$string['magicquotesruntimeerror'] = 'This should be off';$string['magicquotesruntimehelp'] = '<p>Magic quotes runtime should be turned off for Moodle to function properly.</p><p>Normally it is off by default ... see the setting <b>magic_quotes_runtime</b> in your php.ini file.</p><p>If you don\'t have access to your php.ini, you might be able to place the following line in a file    called .htaccess within your Moodle directory:</p>   <blockquote><div>php_value magic_quotes_runtime Off</div></blockquote>';$string['mbstringrecommended'] = 'Installing the optional MBSTRING library is highly recommended in order to improve site performance, particularly if your site is supporting non-Latin languages.';$string['memorylimit'] = 'Memory Limit';$string['memorylimiterror'] = 'The PHP memory limit is set quite low ... you may run into problems later.';$string['memorylimithelp'] = '<p>The PHP memory limit for your server is currently set to $a.</p><p>This may cause Moodle to have memory problems later on, especially    if you have a lot of modules enabled and/or a lot of users.</p><p>We recommend that you configure PHP with a higher limit if possible, like 40M.     There are several ways of doing this that you can try:</p><ol><li>If you are able to, recompile PHP with <i>--enable-memory-limit</i>.      This will allow Moodle to set the memory limit itself.</li><li>If you have access to your php.ini file, you can change the <b>memory_limit</b>     setting in there to something like 40M.  If you don\'t have access you might     be able to ask your administrator to do this for you.</li><li>On some PHP servers you can create a .htaccess file in the Moodle directory     containing this line:    <blockquote><div>php_value memory_limit 40M</div></blockquote>    <p>However, on some servers this will prevent <b>all</b> PHP pages from working     (you will see errors when you look at pages) so you\'ll have to remove the .htaccess file.</p></li></ol>';$string['missingrequiredfield'] = 'A required field is missing';$string['moodledocslink'] = 'Moodle Docs for this page';$string['mssql'] = 'SQL*Server (mssql)';$string['mssqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MSSQL extension so that it can communicate with SQL*Server.  Please check your php.ini file or recompile PHP.';$string['mssql_n'] = 'SQL*Server with UTF-8 support (mssql_n)';$string['mysql'] = 'MySQL (mysql)';$string['mysql416bypassed'] = 'However, if your site is using iso-8859-1 (latin) languages ONLY, you may continue using your currently installed MySQL 4.1.12 (or higher).';$string['mysql416required'] = 'MySQL 4.1.16 is the minimum version required for Moodle 1.6 in order to guarantee that all data can be converted to UTF-8 in the future.';$string['mysqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MySQL extension so that it can communicate with MySQL.  Please check your php.ini file or recompile PHP.';$string['mysqli'] = 'Improved MySQL (mysqli)';$string['mysqliextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MySQLi extension so that it can communicate with MySQL.  Please check your php.ini file or recompile PHP.  MySQLi extension is not available for PHP 4.';$string['name'] = 'Name';$string['next'] = 'Next';$string['oci8po'] = 'Oracle (oci8po)';$string['ociextensionisnotpresentinphp'] = 'PHP has not been properly configured with the OCI8 extension so that it can communicate with Oracle.  Please check your php.ini file or recompile PHP.';$string['odbcextensionisnotpresentinphp'] = 'PHP has not been properly configured with the ODBC extension so that it can communicate with SQL*Server.  Please check your php.ini file or recompile PHP.';$string['odbc_mssql'] = 'SQL*Server over ODBC (odbc_mssql)';$string['ok'] = 'OK';$string['opensslrecommended'] = 'Installing the optional OpenSSL library is highly recommended -- it enables Moodle Networking functionality.';$string['pass'] = 'Pass';$string['password'] = 'Password';$string['pgsqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the PGSQL extension so that it can communicate with PostgreSQL.  Please check your php.ini file or recompile PHP.';$string['php50restricted'] = 'PHP 5.0.x has a number of known problems, please upgrade to 5.1.x or downgrade to 4.3.x or 4.4.x';$string['phpversion'] = 'PHP version';$string['phpversionerror'] = 'PHP version must be at least 4.3.0 or 5.1.0 (5.0.x has a number of known problems).';$string['phpversionhelp'] = '<p>Moodle requires a PHP version of at least 4.3.0 or 5.1.0 (5.0.x has a number of known problems).</p><p>You are currently running version $a</p><p>You must upgrade PHP or move to a host with a newer version of PHP!<br />(In case of 5.0.x you could also downgrade to 4.4.x version)</p>';$string['postgres7'] = 'PostgreSQL (postgres7)';$string['postgresqlwarning'] = '<strong>Note:</strong> If you experience some connection problems, you can try to set Host Server field as host=\'postgresql_host\' port=\'5432\' dbname=\'postgresql_database_name\' user=\'postgresql_user\' password=\'postgresql_user_password\'and to leave empty the Database, User and Password fields. More information on <a href=\"http://docs.moodle.org/en/Installing_Postgres_for_PHP\">Moodle Docs</a>';$string['previous'] = 'Previous';$string['qtyperqpwillberemoved'] = 'During the upgrade, the RQP question type will be removed. You were not using this question type, so you should not experience any problems.';$string['qtyperqpwillberemovedanyway'] = 'During the upgrade, the RQP question type will be removed. You have some RQP questions in your database, and these will stop working unless you reinstall the code from http://moodle.org/mod/data/view.php?d=13&amp;rid=797 before continuing with the upgrade.';$string['remotedownloaderror'] = 'Download of component to your server failed, please verify proxy settings, PHP cURL extension is highly recommended.<br /><br />You must download the <a href=\"$a->url\">$a->url</a> file manually, copy it to \"$a->dest\" in your server and unzip it there.';$string['remotedownloadnotallowed'] = 'Download of components to your server isn\'t allowed (allow_url_fopen is disabled).<br /><br />You must download the <a href=\"$a->url\">$a->url</a> file manually, copy it to \"$a->dest\" in your server and unzip it there.';$string['report'] = 'Report';$string['restricted'] = 'Restricted';$string['safemode'] = 'Safe Mode';$string['safemodeerror'] = 'Moodle may have trouble with safe mode on';$string['safemodehelp'] = '<p>Moodle may have a variety of problems with safe mode on, not least is that    it probably won\'t be allowed to create new files.</p>   <p>Safe mode is usually only enabled by paranoid public web hosts, so you may have    to just find a new web hosting company for your Moodle site.</p>   <p>You can try continuing the install if you like, but expect a few problems later on.</p>';$string['serverchecks'] = 'Server Checks';$string['sessionautostart'] = 'Session Auto Start';$string['sessionautostarterror'] = 'This should be off';$string['sessionautostarthelp'] = '<p>Moodle requires session support and will not function without it.</p><p>Sessions can be enabled in the php.ini file ... look for the session.auto_start parameter.</p>';$string['skipdbencodingtest'] = 'Skip DB Encoding Test';$string['status'] = 'Status';$string['thischarset'] = 'UTF-8';$string['thisdirection'] = 'ltr';$string['thislanguage'] = 'English';$string['unicoderecommended'] = 'Storing all your data in Unicode (UTF-8) is recommended. New installations should be performed into databases that have their default character set as Unicode.  If you are upgrading, you should perform the UTF-8 migration process (see the Admin page).';$string['unicoderequired'] = 'It is required that you store all your data in Unicode format (UTF-8). New installations must be performed into databases that have their default character set as Unicode.  If you are upgrading, you should perform the UTF-8 migration process (see the Admin page).';$string['user'] = 'User';$string['welcomep10'] = '$a->installername ($a->installerversion)';$string['welcomep20'] = 'You are seeing this page because you have successfully installed and     launched the <strong>$a->packname $a->packversion</strong> package in your computer. Congratulations!';$string['welcomep30'] = 'This release of the <strong>$a->installername</strong> includes the applications     to create an environment in which <strong>Moodle</strong> will operate, namely:';$string['welcomep40'] = 'The package also includes <strong>Moodle $a->moodlerelease ($a->moodleversion)</strong>.';$string['welcomep50'] = 'The use of all the applications in this package is governed by their respective     licences. The complete <strong>$a->installername</strong> package is     <a href=\"http://www.opensource.org/docs/definition_plain.html\">open source</a> and is distributed     under the <a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a> license.';$string['welcomep60'] = 'The following pages will lead you through some easy to follow steps to     configure and set up <strong>Moodle</strong> on your computer. You may accept the default     settings or, optionally, amend them to suit your own needs.';$string['welcomep70'] = 'Click the \"Next\" button below to continue with the set up of <strong>Moodle</strong>.';$string['wrongdestpath'] = 'Wrong destination path';$string['wrongsourcebase'] = 'Wrong source URL base';$string['wrongzipfilename'] = 'Wrong ZIP file name';$string['wwwroot'] = 'Web address';$string['wwwrooterror'] = 'The \'Web Address\' does not appear to be valid - this Moodle installation doesn\'t appear to be there. The value below has been reset.';$string['xmlrpcrecommended'] = 'Installing the optional xmlrpc extension is useful for Moodle Networking functionality.';$string['ziprequired'] = 'The Zip PHP extension is now required by Moodle, info-ZIP binaries or PclZip library are not used anymore.';?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?