mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Update string.php
This commit is contained in:
parent
3c899178b4
commit
3919840fc4
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
function myvesta_replace_in_file($file, $find, $replace) {
|
function myvesta_replace_in_file($find, $replace, $file) {
|
||||||
if (!file_exists($file)) return myvesta_throw_error (MYVESTA_ERROR_FILE_DOES_NOT_EXISTS, "File '$file' not found");
|
if (!file_exists($file)) return myvesta_throw_error (MYVESTA_ERROR_FILE_DOES_NOT_EXISTS, "File '$file' not found");
|
||||||
|
|
||||||
$buf=file_get_contents($file);
|
$buf=file_get_contents($file);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue