diff options
| author | Christian Hofmaier | 2017-04-12 14:30:18 +0200 |
|---|---|---|
| committer | Christian Hofmaier | 2017-04-12 14:30:18 +0200 |
| commit | 9f27c7cdeb1df2f9c42373f419c6621d4faa71ca (patch) | |
| tree | e55c6e1d95685df2117401e97f946b962f4e0f47 /api.php | |
| parent | [permissionmanager] changed description to tooltips (diff) | |
| parent | [rebootcontrol] New module for shutting down and rebooting clients (diff) | |
| download | slx-admin-9f27c7cdeb1df2f9c42373f419c6621d4faa71ca.tar.gz slx-admin-9f27c7cdeb1df2f9c42373f419c6621d4faa71ca.tar.xz slx-admin-9f27c7cdeb1df2f9c42373f419c6621d4faa71ca.zip | |
Merge branches 'master' and 'permission-manager' of git.openslx.org:openslx-ng/slx-admin into permission-manager
Diffstat (limited to 'api.php')
| -rw-r--r-- | api.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,8 +42,13 @@ if (Module::isAvailable($module)) { if (!file_exists($module)) { Util::traceError('Invalid module, or module without API: ' . $module); } +Header('Expires: Wed, 29 Mar 2007 09:56:28 GMT'); +Header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); +Header("Cache-Control: post-check=0, pre-check=0", false); +Header("Pragma: no-cache"); Header('Content-Type: text/plain; charset=utf-8'); + ob_start('ob_gzhandler'); // Load module - it will execute pre-processing, or act upon request parameters require_once($module); |
