212 Commits

Author SHA1 Message Date
stronk7
1d5c40048a Moving set_dbfamily() from dmllib.php to setuplib.php as it's
needed in early stages and we don't want the installer to
depend of dmllib.
2007-01-13 10:44:58 +00:00
moodler
73d716dea0 Added dmllib.php because we need set_dbfamily in the environment stuff 2007-01-13 07:06:46 +00:00
moodler
3efc06683a Removed rogue print_object -- how did it get there? MDL-8170 2007-01-13 03:28:25 +00:00
moodler
69cb58efdc Inserted a new style to make install look better 2007-01-09 05:55:07 +00:00
moodler
290e67c77e Added missing library causing install not to work 2007-01-09 05:26:12 +00:00
skodak
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
skodak
d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
moodler
a09f3b7db6 Removed some language=Javscript attributes ... we need to remove all of them! 2007-01-03 09:09:25 +00:00
toyomoyo
5d4e4271b0 eleminating dbencodingtests (always checked in 1.8 via environment) as 1.8 requires unicode 2006-11-10 02:34:59 +00:00
moodler
5f8deafae6 Merged better mssql check from stable 2006-11-07 12:39:56 +00:00
moodler
e2850d158f SOme misc foxes to installing (fixed icons, removed test that broke etc)
that I did some time ago and never checked in
2006-10-30 08:47:55 +00:00
stronk7
b9bc4d7460 Adding support for the new mssql_n driver
Merged from MOODLE_17_STABLE
2006-10-19 18:45:16 +00:00
stronk7
86453d8bd6 Now installer:(MDL-6823)
- performs Oracle charset checks (both client and server)
- prefix checks
- shows differnt information foreach DB flavour
- provide one link to Moodle Docs for MSSQL and Oracle
- the ODBC connector has been marked as experimental due
  to confirmed problems by MS

Merged from MOODLE_17_STABLE
2006-10-13 18:20:52 +00:00
moodler
dcc6b7c483 Add MS-SQL to installer :-) 2006-09-29 06:11:47 +00:00
moodler
78850d9e7d Fixing MDL-6636, reference to file that is now gone (site.html) 2006-09-22 17:27:19 +00:00
skodak
b735d140ef fixed regex typo in installer 2006-08-28 22:09:44 +00:00
skodak
add47d44d0 check suggested dataroot in install.php SC#295 2006-08-28 20:54:16 +00:00
skodak
bb5a61a1d4 reverting wrong commit, sorry :-( 2006-08-22 22:22:34 +00:00
skodak
2881101ca1 debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294 2006-08-22 22:19:58 +00:00
stronk7
9914f09319 Prevent doubleslashes once and again in paths. Also prevent them when writing config.php
Merged from MOODLE_16_STABLE
2006-05-31 17:54:58 +00:00
skodak
d976b5fecb blacklist PHP 5.0.x in installation precheck; merged from MOODLE_16_STABLE 2006-05-30 09:42:29 +00:00
patrickslee
83e8edb463 Fixed wrong encoding detection logic in install.php 2006-04-27 23:17:25 +00:00
patrickslee
2544a80de1 PostgreSQL 8 compatibility fix for database character set detecting 2006-04-23 23:39:56 +00:00
moodler
bd507453f7 The install script should always be Unicode. 2006-04-16 15:58:24 +00:00
moodler
b1e64385dc During installation, if the database isn't UTF and it is empty,
then try and set it to UTF automatically.

I did MySQL only, can someone tackle this for PostgreSQL?
2006-04-14 11:57:11 +00:00
moodler
b6d31b4696 FIxed an alt string 2006-04-14 04:58:09 +00:00
stronk7
3725cc8a58 htmlentities() to s() 2006-04-11 15:42:08 +00:00
stronk7
1a8bdfc430 Strip the "_utf8" suffix from language names in list of languages.
Special info showed for non-utf8 English.
(http://moodle.org/bugs/bug.php?op=show&bugid=4924)
2006-04-10 23:07:37 +00:00
stronk7
c05a30bc19 Preventig bug affecting sites with modified wwwroot and
custom admin dir. Bug 5031.
(http://moodle.org/bugs/bug.php?op=show&bugid=5031)
2006-04-09 21:39:49 +00:00
stronk7
cdef6d4211 New-improved installer. Now it allows to download the langpack
from download.moodle.org and some other minor tweaks solved.
2006-03-11 00:03:51 +00:00
stronk7
68a3f81d4d Now the installer will try to download the selected lang pack
from download.moodle.org to be able to continue with the
installation using such lang.
2006-03-10 01:07:41 +00:00
stronk7
b9b4e32ab9 Now it's possible to use any language in the installer.
Next step: Add the possibility to download and install
the selected language from the installer.
2006-03-09 20:24:14 +00:00
stronk7
b4dd571d8e Now the installer looks for UTF-8 enabled DB (both for MySQL and
Postgress) warning if DB it isn't found. This test can be skipped,
but showing a message about it.
If everything is OK the CFG->unicodedb variable is written to the
config.php file.
With this, 1.6 installer should be 100% ready.
2006-02-05 00:57:44 +00:00
stronk7
3b3b80293c Now the installation process perform then environment check. 2006-01-21 17:30:01 +00:00
stronk7
182dca14e5 Added one new style for better formatting. 2006-01-20 16:18:52 +00:00
stronk7
e6f930f340 Split some strings for better formatting. 2006-01-20 16:11:32 +00:00
stronk7
09f972719b Solved small bug introduced in lat revision. My fault. :-( 2006-01-20 10:43:44 +00:00
stronk7
3470b39f5c Modifying the installation script. Step 1: Replace all
the harcoded stages to some nicer defines.
2006-01-19 17:41:56 +00:00
stronk7
72452dc1ea HEAD install is working again... 2006-01-07 10:15:04 +00:00
moodler
4d46a3f062 Merged new globals check into install from stable 2005-11-17 07:14:03 +00:00
defacer
1fd3772bc5 Changing width="22" for /pix/help.gif to width="17" 2005-05-10 00:21:09 +00:00
moodler
f96660f8bf Whoops, how did this get in there? :-) 2005-03-14 13:31:34 +00:00
moodler
91099e368b Added checks for allow_fopen_url in two more places! 2005-02-23 15:40:53 +00:00
moodler
6e86ae68d8 Added a comment about safe mode permissions 2005-02-09 05:20:01 +00:00
moodler
4b9efec45e Default directory permissions of 02777 (for safe mode) are causing
some problems for various people ... I'm putting it back to the default.
2005-02-09 05:19:05 +00:00
moodler
985c93197c Fixing the admin directory check (again ;-)) 2005-01-10 08:04:44 +00:00
moodler
d99bab2d1d Some changes that may help on safe mode ... see bug 2093
The new directory permissions maintain group mode better,
and the manual chown is now removed to prevent safe mode
from getting upset.
2004-12-26 14:45:39 +00:00
martinlanghoff
e35d275e1f Merged from MOODLE_14_STABLE
Fixes bug #2147 http://moodle.org/bugs/bug.php?op=show&bugid=2147

The config.php generated by install.php was missing $CFG->admin -- credit goes to serge.laot@wanadoo.fr for the report and patch.
2004-12-13 07:38:43 +00:00
paca70
774c4d2bc3 Use dirroot to check admin directory 2004-10-22 10:17:25 +00:00
paca70
2df3a7219d Check if url-based fopen() is enebled before trying to use it. 2004-10-22 10:15:56 +00:00