diff options
author | Urban Müller | 2018-06-21 16:17:43 +0200 |
---|---|---|
committer | Urban Müller | 2018-06-21 16:17:43 +0200 |
commit | 455b15f7a850a58ef667ad170732769043eb1522 (patch) | |
tree | 2c74e6bbe6a1c548b20ca8461247091407158b8a | |
parent | 05e7ceefa1f0a29c665381b54ac882f260ae6c22 (diff) | |
download | itools-455b15f7a850a58ef667ad170732769043eb1522.tar.gz itools-455b15f7a850a58ef667ad170732769043eb1522.tar.bz2 itools-455b15f7a850a58ef667ad170732769043eb1522.zip |
should run without itools
-rwxr-xr-x | convertsyntax.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/convertsyntax.php b/convertsyntax.php index b8ea34b..ef91c93 100755 --- a/convertsyntax.php +++ b/convertsyntax.php @@ -20,7 +20,7 @@ $result = 0; foreach ($files as $file) { - $converter = new it_syntaxconverter(it::file_get_contents($file), $mode); + $converter = new it_syntaxconverter(file_get_contents($file), $mode); if ($mode == 'test') { @@ -37,7 +37,7 @@ foreach ($files as $file) echo $converter->output; if ($opts['verbose'] && $converter->changes) - fputs(it::fopen("php://stderr", "w"), "$converter->changes changes made to $file\n"); + fputs(fopen("php://stderr", "w"), "$converter->changes changes made to $file\n"); } } |