git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@442
b3834d28-1941-0410-a4f8-
b48e95affb8f
if (isset($_SESSION['lastUrl'])) {
$GLOBALS['lastUrl'] = $_SESSION['lastUrl'];
}
- $_SESSION['lastUrl'] = $_SERVER['REQUEST_URI'];
+ //this here is hacky, but currently the only way to
+ // differentiate between css/js php files and normal
+ // http files
+ if (!isset($GLOBALS['saveInLastUrl'])
+ || $GLOBALS['saveInLastUrl']
+ ) {
+ $_SESSION['lastUrl'] = $_SERVER['REQUEST_URI'];
+ }
}
}
<?php
header('Content-Type: text/javascript');
+$GLOBALS['saveInLastUrl'] = false;
require_once '../src/SemanticScuttle/header.php';
require_once 'SemanticScuttle/functions.php';
$player_root = ROOT .'includes/player/';