We no longer minify the code

This commit is contained in:
Michal Čihař 2013-10-02 14:12:01 +02:00
parent bbedf41180
commit 785c33261a

View File

@ -36,14 +36,6 @@ if (! empty($_GET['scripts']) && is_array($_GET['scripts'])) {
$script_name .= DIRECTORY_SEPARATOR . $filename;
}
}
// if error reporting is enabled serve the unminified files
if($GLOBALS['cfg']['ErrorReporting']) {
$unminified = "sources" . DIRECTORY_SEPARATOR . $script_name;
// only serve the unminified files if they exist
if (is_readable($unminified)) {
$script_name = $unminified;
}
}
// Output file contents
if (preg_match("@\.js$@", $script_name) && is_readable($script_name)) {