mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
98e11cea5d
Added File::replace() Searches for a given text and replaces the text if found Renamed File::replace() to File::replaceText() Updated the replaceText() method to utilize File Locking Updated File::replaceText() 1. Method now checks if the lock is not identical to null 2. Since the method uses File::read() to get the contents of the file, there is no need for a temporary file. Removed the temporary file creation File::replaceText() update Opening file with r+ mode |
||
---|---|---|
.. | ||
Cache | ||
Config | ||
Configure | ||
Console | ||
Controller | ||
Core | ||
Error | ||
Event | ||
I18n | ||
Log | ||
Model | ||
Network | ||
Routing | ||
Test | ||
TestSuite | ||
Utility | ||
View | ||
basics.php | ||
bootstrap.php | ||
LICENSE.txt | ||
VERSION.txt |