Check-in [f6600ad1a1]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed missing semicolons
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1:f6600ad1a10002a72b280cfe93fde0e4d5968575
User & Date: rkeene 2017-03-16 16:32:10
Context
2017-03-16
16:32
Fixed missing semicolons Leaf check-in: f6600ad1a1 user: rkeene tags: trunk
16:29
Fixed issue calling Fossil binary to unset SSH command check-in: 101e430ec6 user: rkeene tags: trunk
Changes

Changes to nano/fossil.php.

46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

            $content = "#!/usr/local/bin/fossil\ndirectory: ./\nnotfound: http://{$_SERVER['SERVER_NAME']}/notfound";
            file_put_contents("{$this->path}repository", $content);
            chmod("{$this->path}repository", 0555);
        }

        if ($sha3 === true) {
            $shaArg = ""
        } else {
            $shaArg = "--sha1"
        }

        if (!file_exists("{$this->path}{$repo}.fossil")) {
            exec($this->getFossilCommand() . " new " . $shaArg . " -A " . escapeshellarg($this->user['username']) . " " . escapeshellarg("{$this->path}{$repo}.fossil"), $output, $return);

            if ($return !== 0) {
                if (file_exists("{$this->path}{$repo}.fossil")) {







|

|







46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

            $content = "#!/usr/local/bin/fossil\ndirectory: ./\nnotfound: http://{$_SERVER['SERVER_NAME']}/notfound";
            file_put_contents("{$this->path}repository", $content);
            chmod("{$this->path}repository", 0555);
        }

        if ($sha3 === true) {
            $shaArg = "";
        } else {
            $shaArg = "--sha1";
        }

        if (!file_exists("{$this->path}{$repo}.fossil")) {
            exec($this->getFossilCommand() . " new " . $shaArg . " -A " . escapeshellarg($this->user['username']) . " " . escapeshellarg("{$this->path}{$repo}.fossil"), $output, $return);

            if ($return !== 0) {
                if (file_exists("{$this->path}{$repo}.fossil")) {