This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_expires.c> | |
# Enable the module | |
ExpiresActive On | |
# Default expiration of 2 weeks | |
ExpiresDefault A1209600 | |
# Expire CSS, JS and images content after 1 day. | |
ExpiresByType text/css "access plus 1 day" | |
ExpiresBytype text/javascript "access plus 1 day" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// $Id$ | |
/** | |
* @file | |
* Zip class for servers without ziplib. | |
*/ | |
class PHPZip { | |
function Zip($dir, $zipfilename) { | |
if (@function_exists('gzcompress')) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Classe abstrata para funcionalidade de CRUD | |
* @author Daniel Lima <[email protected]> | |
* @example | |
* <code> | |
* <?php | |
* Module_Foo_Controller extexds Cilens_Controller_Crud | |
* { | |
* protected $_modelName = 'Foo'; |
NewerOlder