Ignore:
Timestamp:
May 18, 2014, 9:12:50 AM (10 years ago)
Author:
rvelices
Message:

rv_gmaps simplification and use of persistent cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/include/functions.php

    r26331 r28498  
    11<?php
    2 
    3 function rvm_get_cache_file_name()
    4 {
    5         global $conf;
    6         return PHPWG_ROOT_PATH.$conf['data_location'].'/tmp/_rvgm_cat_cache.dat';
    7 }
    8 
    9 function rvm_invalidate_cache()
    10 {
    11         @unlink(  rvm_get_cache_file_name() );
    12 }
    132
    143function rvm_load_language($source=false)
Note: See TracChangeset for help on using the changeset viewer.