Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
cacheone.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
/**
7
* to cache rseult one hour
8
*
9
* @author Anakeen
10
* @version $Id: cacheone.php,v 1.3 2008/08/12 12:42:17 eric Exp $
11
* @package FDL
12
* @subpackage
13
*/
14
/**
15
*/
16
17
function
cacheone
(&
$action
)
18
{
19
if
(substr(
$action
->lay->file, -3) ==
".js"
) $mime =
"text/javascript"
;
20
else
$mime =
""
;
21
setHeaderCache
($mime);
22
}
23
?>
$action
global $action
Definition:
accountRefreshGroup.php:16
cacheone
cacheone(&$action)
Definition:
cacheone.php:17
setHeaderCache
setHeaderCache($type)
Definition:
pack.php:11
← centre documentaire
© anakeen