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
listen=NO | |
listen_ipv6=YES | |
anonymous_enable=NO | |
local_enable=YES | |
write_enable=YES | |
local_umask=022 | |
dirmessage_enable=YES | |
use_localtime=YES | |
xferlog_enable=YES | |
connect_from_port_20=YES |
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 com o objetivo de criar um file cache simples para guardar dados de consulta sql | |
* Mode de Uso: | |
* | |
* - Primeiro configure os atributos no inicio da classe com os valores desejados: | |
* - $_default_path - Pasta onde o cache será salvo | |
* - $_cache_timeout - Tempo de duração do cache em horas | |
* - $_cache_type - Extensão do arquivo de cache |