Ticket #387 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

QCache::SaveData's directory creation to be replaced with recursive mkdir

Reported by: MonkoftheFunk Owned by:
Priority: important Milestone: 1.1.1 Stable
Component: Framework Version: 1.1 Development
Keywords: QCache, SaveData Cc:

Description

Replace lines 55-66 with this, a safer make directory recursion for PHP 5.0

if (!is_dir($this->GetCacheDirectory?()))

mkdir($this->GetCacheDirectory?(),0777,true);

http://php.net/manual/en/function.mkdir.php

Change History

Changed 8 months ago by alex94040

Can you create a patch, please?

Changed 8 months ago by alex94040

  • milestone set to 1.1.1

Changed 7 months ago by alex94040

  • status changed from new to closed
  • resolution set to fixed

(In [680]) Fixes #387 (QCache::SaveData?'s directory creation to be replaced with recursive mkdir). Code by MonkoftheFunk?, reviewed and tested by alex94040.

This is relevant only for 1.1 branch.

Note: See TracTickets for help on using tickets.