ExtreProcesses, System and URL now indicated as classes

This commit is contained in:
mattpass
2020-06-20 07:39:24 +01:00
parent eb3adee9fc
commit e0caeb4cc8
8 changed files with 52 additions and 52 deletions

View File

@@ -6,11 +6,11 @@ use ICEcoder\System;
class FTP
{
private $system;
private $systemClass;
public function __construct()
{
$this->system = new System();
$this->systemClass = new System();
}
public function writeFile() {
@@ -30,7 +30,7 @@ class FTP
}
}
// Stitch changes onto it
$contents = $this->system->stitchChanges($fileLines, $_POST['changes']);
$contents = $this->systemClass->stitchChanges($fileLines, $_POST['changes']);
// get old file contents and count stats on usage \n and \r there
// in this case we can keep line endings, which file had before, without