moodler
18b9d66439
Moved theme changing to after SESSION exists
2005-02-01 08:00:58 +00:00
moodler
d74d4f2053
Some changes in the way theme setup is achieved, there is now a function
...
for it called theme_setup
2005-01-31 05:59:13 +00:00
moodler
1e92ee743b
A SESSION->theme can be set (only with sesskey)
2005-01-30 19:28:27 +00:00
moodler
538a22102b
Removed some THEME stuff
2005-01-25 17:39:55 +00:00
moodler
db70c04693
Standard theme is the one to use! Everybody switch to it!! :-)
2005-01-25 13:22:18 +00:00
moodler
7bb6d80f33
IMPORTANT NEW FEATURE FOR CSS
...
print_header now produces a unique CSS class and id for each page,
allowing targeting of styles for any module or page.
2005-01-25 11:05:23 +00:00
martinlanghoff
a10171eb39
Merged from MOODLE_14_STABLE. Issue a warning when overriding $CFG settings.
2005-01-18 22:59:41 +00:00
moodler
0182c65cec
Fixed the problem with enrolments not sticking.
...
Also commented out Smarty stuff for now (for better performance in 1.5)
2005-01-18 18:28:25 +00:00
martinlanghoff
27a0c5f608
Ported from MOODLE_14_STABLE. SC#62 - Prevent database values from overriding $CFG values defined in config.php -- Credits go to Petr Skoda.
2005-01-09 21:54:48 +00:00
moodler
b60f0ee556
Validator ignores sesskeys
2004-12-22 02:56:16 +00:00
mjollnir_
24cc8ec9ba
Merged from MOODLE_14_STABLE: Committing skodak's fixes for sc#40 and #42
2004-12-17 01:43:06 +00:00
moodler
f9f4d999fe
Merged recent fixes to FULLME in stable
2004-12-12 06:49:26 +00:00
martinlanghoff
bce7197321
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-335 Now memory_limit can be overriden by higher config settings from php.ini, commandline, httpd.conf, .htaccess
2004-11-18 02:55:06 +00:00
moodler
53f39b328c
Merged prettier error from stable
2004-10-15 08:47:12 +00:00
moodler
42b90599be
SESSIONS-IN-DATABASE SUPPORT
...
Support for a new configuration variable called $CFG->dbsessions
which enables sessions via database. Based on code from Jason Cole's
team - thanks!
2004-09-30 06:02:39 +00:00
dhawes
674fb525d2
fixed misplaced comments on CFG and USER globals
2004-09-28 02:51:56 +00:00
moodler
4037263a06
Fixed bug with quotes (finally?)
2004-09-27 09:32:59 +00:00
paca70
d53748e6bf
Ficed bug on " -> ' conversion
2004-09-27 05:15:21 +00:00
dhawes
da8759cb8f
Phpdoc comments added to define moodle globals. Also converted double quote strings to single quote literals
2004-09-25 05:30:03 +00:00
gustav_delius
dcb1bd3c9a
towards XHTML compliance
2004-09-12 13:21:01 +00:00
moodler
91d39e19ef
Merged increased memory limit from stable
2004-09-08 07:11:48 +00:00
moodler
de7e4ac97d
Set ampersands for automatic URL parameters
2004-09-07 09:49:41 +00:00
moodler
003c49cb7d
Better login
2004-09-07 08:23:11 +00:00
moodler
98de6431e9
Fixed a typo, whoops
2004-09-07 08:04:02 +00:00
moodler
9610a66e21
Allow Validator from http://validator.w3.org/ and the Cynthia 508 checker.
...
It only works when you are using the new standardxhtml theme.
This is temporary while we do testing and validation.
I highly advise using Mozilla/Firefox and the Web Developer extension
http://www.chrispederick.com/work/firefox/webdeveloper/
2004-09-07 07:38:44 +00:00
moodler
80035a89e1
Disallow dots being passed to lang (path disclosure)
2004-08-18 05:52:01 +00:00
moodler
22d42bf0ce
If possible, increase the memory limit at run-time. doh!
...
Not many servers have this compiled into PHP though.
2004-08-16 07:26:19 +00:00
moodler
32c60ce365
Whoops, forgot to check this in last night.
2004-07-17 04:31:34 +00:00
gustav_delius
be0bdec88c
a hack to fix bug 1598 regarding undefined $CFG->enrol
2004-06-29 21:16:58 +00:00
moodler
afb18f5aea
Set up Smarty template system in the setup.php
2004-06-24 13:10:47 +00:00
moodler
a2fa19d87c
Merged in latest changes from STABLE
2004-06-21 13:07:44 +00:00
moodler
2d33fc00d1
Allow other Google thigns into the site too ... in particular translate.google.com
2004-05-16 14:19:35 +00:00
moodler
cec0a0fc30
New developmental setting to force UTF for the whole server
...
Plus, some optimisation on the way encoding is stored (in the session).
2004-04-27 13:57:46 +00:00
moodler
39e1c4158f
I think this might solve the mysterious problems with
...
session garbage collection and timeouts not working.
Note: upgrading to this will KILL all current sessions, so
you will need to log back in.
2004-04-15 14:46:54 +00:00
moodler
36ec6afea6
Added a small security check
2004-03-20 04:04:15 +00:00
moodler
18845ac357
If $CFG->opentogoogle is defined then
...
- google can get in as guest
- visitiors referred from google get in as guest
2004-01-25 09:37:28 +00:00
moodler
1040ea8501
A workaround for a PHP bug with Turkish, and some fixed strings changed from "" to ''
2003-11-12 07:39:10 +00:00
moodler
482b6e6e38
Same as Eloy's fix, just a few less lines of code. ;-)
2003-10-17 12:30:17 +00:00
stronk7
23f6216b92
Do some isset() checkings with $CFG->sessioncookie.
...
Previously when debug turned on, login was impossible
due to some notices sent before writing http headers.
2003-10-17 09:54:41 +00:00
moodler
c1f5319532
A new Moodle variable called sessioncookie is now added to the session
...
cookie name. This provides a means for multiple Moodles within the
same website to keep separate sessions and not get confused.
2003-10-16 13:19:10 +00:00
moodler
c9f6251ea8
Two things are in this checkin:
...
1) Support for the new "label" module has been added. It's unfortunate
about having to make these exceptions but this was the overall cleanest
way I could think of.
2) All local calculation of pixpath and modpixpath has been removed and
replaced with a single calculation which is done in setup.php and
stored in $CFG->pixpath and #CFG->modpixpath. All graphics should
use these variables so that themes can easily override them.
2003-09-14 12:25:16 +00:00
moodler
16e4918d43
Little tweak to fix a caching problem.
...
User images were not being cached properly because Moodle was
sending a session cookie. I've turned this off now for user images.
2003-08-12 07:02:34 +00:00
moodler
46213aa855
Improved magic_quotes routine (deals with arrays now, too)
2003-07-29 01:54:16 +00:00
moodler
aa6af0f833
A hack to get around magic_quotes_gpc being turned off
2003-07-28 16:37:12 +00:00
moodler
d1a3dc8867
The session is now named "MoodleSession" to prevent conflicts with
...
other software.
2003-06-07 06:35:12 +00:00
moodler
16ba73512e
Slight improvements to import of global variables
...
- don't globalise cookies
- better checking of lang variables
2003-05-26 15:38:52 +00:00
moodler
c39c66a5e8
Using new ini_get_bool function to work around a bug with ini_get where
...
the result is different for items set in htaccess
2003-05-17 02:05:10 +00:00
moodler
9f71c9e713
Use the new $CFG->dbpersist variable in config.php to determine whether
...
to use persistent connections or not. The default is to use them (for
speed/efficiency) but now they can be switched off with:
$CFG->dbpersist = false;
2003-05-09 02:20:03 +00:00
moodler
3d9f0f81d6
IMPORTANT SECURITY FIX - this makes sure $CFG can not be overridden
2003-05-09 02:02:27 +00:00
moodler
0cb29cc411
Turn off PHP error reporting while connecting to database
2003-05-07 08:07:48 +00:00