login: userless handler call to obtain metadata
[minimedit.git] / thumb / index.php
index 104e1df53009d99187019e7129e615d9d12c19ac..a6b5bd7d66cce6d27560b120955a3fae695aaaa1 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+if (!$User) return;
 list ($size, $imgpath) = explode('/', ltrim($Page->path, '/'), 2);
 $imgpath = preg_replace('{^(?=[0-9]+/)}', 'data/', $imgpath, 1);