Added markdown to EULA
This commit is contained in:
@@ -17,4 +17,15 @@ class Setting extends Elegant
|
||||
$app = App::getFacadeApplication();
|
||||
return $app::VERSION;
|
||||
}
|
||||
|
||||
public static function getDefaultEula() {
|
||||
|
||||
$Parsedown = new Parsedown();
|
||||
if (Setting::getSettings()->default_eula_text) {
|
||||
return $Parsedown->text(e(Setting::getSettings()->default_eula_text));
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user