Ignore:
Timestamp:
12/06/12 08:35:13 (11 years ago)
Author:
angelo
Message:

Ticket #3197 - Reduzir tempo de carregamento do modulo Expresso Mail - Criacao mensagem,nome de arquivos de cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/library/Assetic/Cache/FilesystemCache.php

    r7575 r7613  
    2828    public function has($key) 
    2929    { 
     30        $key = "expressocache-".$key; 
    3031        return file_exists($this->dir.'/'.$key); 
    3132    } 
     
    3334    public function get($key) 
    3435    { 
     36        $key = "expressocache-".$key; 
    3537        $path = $this->dir.'/'.$key; 
    3638 
     
    4446    public function set($key, $value) 
    4547    { 
     48        $key = "expressocache-".$key; 
    4649        if (!is_dir($this->dir) && false === @mkdir($this->dir, 0777, true)) { 
    4750            throw new \RuntimeException('Unable to create directory '.$this->dir); 
     
    5760    public function remove($key) 
    5861    { 
     62        $key = "expressocache-".$key; 
    5963        $path = $this->dir.'/'.$key; 
    6064 
Note: See TracChangeset for help on using the changeset viewer.