20 Commits

Author SHA1 Message Date
stronk7
ed7656bf01 Now environment stuff uses $CFG->dbfamily 2007-01-13 01:20:10 +00:00
moodler
38fca5d7c7 Don't let downloaded environment files cause problems forever by overriding the
more up-to-date internal files
2007-01-09 05:52:11 +00:00
stronk7
c90edfe168 Environment checks support mysqli. MDL-8113
Merged from MOODLE_17_STABLE
2007-01-08 19:54:44 +00:00
skodak
a392be33cf new unicode environment check for 1.8 and 1.7 MDL-6332; merged from MOODLE_17_STABLE 2006-11-07 09:07:40 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
stronk7
95a39282bf Now environmentlib supports RESTRICT sections (to be able to deny
any general test with more detail (the opposite to the BYPASS section)
(http://moodle.org/bugs/bug.php?op=show&bugid=5653)

Merged from MOODLE_16_STABLE
2006-06-06 16:19:17 +00:00
stronk7
cfba5440c0 Normalize oracle driver name. 2006-05-29 17:42:01 +00:00
vyshane
edc13d625b Fixed Bug #5080 - admin/environment.php use a new and different class for the
list table
2006-04-05 05:43:19 +00:00
stronk7
74506a51a3 Perform one aditional check to avoid one, in my opinion,
bad behaviour of PHP5.
2006-02-05 10:11:12 +00:00
stronk7
76bb0d20a3 We only allow to bypass "required" checks. 2006-02-04 18:57:22 +00:00
stronk7
b0e2a189ce Now every test in the enviromental check can by bypassed by one
function execution. Currently it's used to check for MySQL 4.1.12
and if present, result will be ok, showing a notice about
possible problems with non latin languages.
2006-02-04 18:30:22 +00:00
stronk7
9e2d15e559 Now environment.xml file can define for all the tests (database,
php and php_extension) some feedback notes to be showed on error,
on check and on ok.

Tomorrow, I'll include de bypass mechanism that will allow us to
change results of any text based in function call results.
2006-02-03 00:40:49 +00:00
stronk7
d83f837385 Changed harcoded 'admin' to $CFG->admin
Merged from MOODLE_15_STABLE
2006-01-21 00:19:02 +00:00
stronk7
878d309c2b Now results of check_moodle_environment() are
cached, saving us of some work when the script
is called more than once per request (install)

Merged from MOODLE_15_STABLE
2006-01-20 18:52:48 +00:00
stronk7
00d3a0fd95 Notices out! 2006-01-19 16:21:50 +00:00
stronk7
e3058eb3d4 Now postgresql version is properly checked. 2006-01-19 11:10:26 +00:00
stronk7
e909788dae Now a final box is showed at the end of the report. 2006-01-18 23:06:20 +00:00
stronk7
049c0f4a8a Now we are able to print a pretty table with results
of the whole test.
2006-01-18 19:14:54 +00:00
stronk7
f58b518fec After thinking a bit about it, this file is, exactly,
one library, so add it here. The admin/environment.php
will be the interface to handle all this stuff. ;-)
2006-01-16 23:25:14 +00:00