mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- Caching: also prevent caching in AjaxHandler
- Util: initialize enchantments even if it has no usable stats - NPCs: * added tamability to infobox * added pet-spells to controlled spells tab * fixed displaying texts for zero-length strings, also adapted TrinityCore:master/e567ab95972508adc85a36f867723114a04fe227 * hide listview column 'type', when displaying one specific type - Utility - missing-screenshots: reduced list-size to 200 - fixed copypasta-typo in locale_eses.js - Skill: fixed error in detail page title
This commit is contained in:
@@ -30,6 +30,13 @@ class AjaxHandler
|
||||
if (!$what || !method_exists($this, $f))
|
||||
return null;
|
||||
|
||||
// see GenericPage::display()
|
||||
header('Expires: Sat, 01 Jan 2000 01:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
return $this->$f();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user