Remove debugging stuff.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 9 Dec 2010 21:54:16 +0000 (22:54 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 9 Dec 2010 21:54:16 +0000 (22:54 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
include/platal.inc.php

index b9e42fd..069a661 100644 (file)
@@ -155,9 +155,6 @@ function pl_url($path, $query = null, $fragment = null)
 {
     global $platal;
 
-    if (Env::has('__embedded')) {
-        $path = 'embedded/' . Env::s('__embedded') . '/' . $path;
-    }
     $base = $platal->ns . $path . ($query ? '?'.$query : '');
     return $fragment ? $base.'#'.$fragment : $base;
 }