summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
67f4fe1)
Changing the js mimetype to text/javascript to avoid problems with some proxy configurations.
$ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration");
if ($_REQUEST['mode'] == 'js') {
$ERRORS[12] = __("SQL escaping test failed, check your database and PHP configuration");
if ($_REQUEST['mode'] == 'js') {
- header("Content-Type: text/plain; charset=UTF-8");
+ header("Content-Type: text/javascript; charset=UTF-8");
print "var ERRORS = [];\n";
print "var ERRORS = [];\n";