Piwik\Filechecks::getMakeWritableCommand PHP Method

getMakeWritableCommand() private static method

Returns the help text displayed to suggest which command to run to give writable access to a file or directory
private static getMakeWritableCommand ( string $realpath ) : string
$realpath string
return string
    private static function getMakeWritableCommand($realpath)
    {
        if (SettingsServer::isWindows()) {
            return "<code>cacls {$realpath} /t /g " . self::getUser() . ":f</code><br />\n";
        }
        return "<code>chmod -R 0755 {$realpath}</code><br />";
    }