git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sitemap: apply link metadata from handler call
[minimedit.git]
/
thumb
/
index.php
diff --git
a/thumb/index.php
b/thumb/index.php
index 104e1df53009d99187019e7129e615d9d12c19ac..a6b5bd7d66cce6d27560b120955a3fae695aaaa1 100644
(file)
--- a/
thumb/index.php
+++ b/
thumb/index.php
@@
-1,4
+1,5
@@
<?php
+if (!$User) return;
list ($size, $imgpath) = explode('/', ltrim($Page->path, '/'), 2);
$imgpath = preg_replace('{^(?=[0-9]+/)}', 'data/', $imgpath, 1);