MDL-24500 first step towards BC for user/pix.php
authorPetr Skoda <skodak@moodle.org>
Sun, 3 Oct 2010 18:00:21 +0000 (18:00 +0000)
committerPetr Skoda <skodak@moodle.org>
Sun, 3 Oct 2010 18:00:21 +0000 (18:00 +0000)
user/pix.php [new file with mode: 0644]

diff --git a/user/pix.php b/user/pix.php
new file mode 100644 (file)
index 0000000..0b84d34
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+define('NOMOODLECOOKIE', 1);
+
+require('../config.php');
+
+//TODO: redirect to new image location
+
+$PAGE->set_url('/user/pix.php');
+$PAGE->set_context(null);
+
+redirect($OUTPUT->pix_url('u/f1'));