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 />";
}