moodle/lib/session-test.php
Francois Marier 6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00

16 lines
540 B
PHP

<?php
/// This is a tiny standalone diagnostic script to test that sessions
/// are working correctly on a given server.
///
/// Just run it from a browser. The first time you run it will
/// set a new variable, and after that it will try to find it again.
/// The random number is just to prevent browser caching.
require '../config.php';
error('session test not reimplemented yet');
//TODO: add code that actually tests moodle sessions, the old one only tested PHP sessions used from installer, not the real moodle sessions
?>