$sc->checkGit();
$sc->checkDatabase();
$sc->checkMimeTypeDetection();
+ $sc->checkRemoteForking();
return $sc->messages;
}
}
}
+ public function checkRemoteForking()
+ {
+ if (!isset($GLOBALS['phorkie']['cfg']['git']['public'])
+ || $GLOBALS['phorkie']['cfg']['git']['public'] == ''
+ ) {
+ $this->fail(
+ 'No public git URL prefix configured.'
+ . ' Remote forking will not work'
+ );
+ }
+ }
+
public function fail($msg)
{
$this->messages[] = array('error', $msg);