WebsiteBaker Support (2.12.x) >
Hilfe & Support (deutsch)
Aktualisierung Website funzt nicht
Craxx:
ok...
<?php
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0"); // Proxies.
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
?>
Ich habe das jetzt mal in die Index des Templates nach dem Head und vor body eingefügt.
evaki:
Die "header" gehören jaaaanz oben am Anfang des Script hin, also vor allem anderen.
Beispiel:
--- Code: ---<?php
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0"); // Proxies.
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
/**
*
* Website Baker is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Website Baker is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/* -------------------------------------------------------- */
// Must include code to stop this file being accessed directly
if (!defined('SYSTEM_RUN')) {header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found'); echo '404 File not found'; flush(); exit;}
/* -------------------------------------------------------- */
// TEMPLATE CODE STARTS BELOW
?><!DOCTYPE HTML>
<html lang="de">
<head>
<meta charset="utf-8"/>
usw.
--- End code ---
Craxx:
Vielen lieben Dank ;-)
Navigation
[0] Message Index
[*] Previous page
Go to full version