Fixed path for Windows machines

This commit is contained in:
Rouslan Placella 2012-12-18 15:11:11 +00:00
parent 44c12545fc
commit 9f8de95316

View File

@ -24,7 +24,7 @@ if (! empty($_GET['scripts']) && is_array($_GET['scripts'])) {
) {
// Disallow "." and ".." alone
// Allow alphanumeric, "." and "-" chars only
$script_name .= "/" . $filename;
$script_name .= DIRECTORY_SEPARATOR . $filename;
}
}
// Output file contents