Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088d940
)
MDL-24500 first step towards BC for user/pix.php
author
Petr Skoda
<skodak@moodle.org>
Sun, 3 Oct 2010 18:00:21 +0000
(18:00 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Sun, 3 Oct 2010 18:00:21 +0000
(18:00 +0000)
user/pix.php
[new file with mode: 0644]
patch
|
blob
diff --git a/user/pix.php
b/user/pix.php
new file mode 100644
(file)
index 0000000..
0b84d34
--- /dev/null
+++ b/
user/pix.php
@@ -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'));