fixed content type
This commit is contained in:
parent
b00282afb0
commit
ec19de29c0
|
@ -3,7 +3,7 @@
|
|||
|
||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||
Copyright (C) 2010 Cedric Dugas and Olivier Refalo
|
||||
2011 - 2018 Roland Gruber
|
||||
2011 - 2019 Roland Gruber
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -29,13 +29,13 @@ if (strtolower(session_module_name()) == 'files') {
|
|||
session_save_path(dirname(__FILE__) . '/../../sess');
|
||||
}
|
||||
|
||||
if (!headers_sent()) {
|
||||
header('Content-Type: application/json; charset=utf-8');
|
||||
}
|
||||
|
||||
@lam_start_session();
|
||||
setlanguage();
|
||||
|
||||
if (!headers_sent()) {
|
||||
header('Content-Type: application/javascript; charset=utf-8');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
(function($){
|
||||
|
|
Loading…
Reference in New Issue