public static function beforeFileWrite($info) { $path = $info['path']; if (self::$DO_LOG) { error_log("beforeFileWrite " . $path); } PersistentMap::putval($path, 1); }
public function prefile_put_contents($path, $data) { if (self::$DO_LOG) { error_log("prefile_put_contents {$path}"); } PersistentMap::putval($path, 1); return true; }