Development

Changeset 12625

You must first sign up to be able to contribute.

Changeset 12625

Show
Ignore:
Timestamp:
11/04/08 10:05:23 (1 year ago)
Author:
dwhittle
Message:

1.2: removed magic_quotes calls for 5.3 compat (closes #4806)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/cache/sfFileCache.class.php

    r9084 r12625  
    216216    clearstatcache(); // because the filesize can be cached by PHP itself... 
    217217    $length = @filesize($path); 
    218     $mqr = get_magic_quotes_runtime(); 
    219     set_magic_quotes_runtime(0); 
    220218    switch ($type) 
    221219    { 
     
    241239        throw new sfConfigurationException(sprintf('Unknown type "%s".', $type)); 
    242240    } 
    243     set_magic_quotes_runtime($mqr); 
    244241    @flock($fp, LOCK_UN); 
    245242    @fclose($fp); 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.