Added markdown to EULA

This commit is contained in:
snipe
2015-02-25 11:25:10 -08:00
parent 2b83b52735
commit ad39ec1dc3
9 changed files with 155 additions and 76 deletions
+11
View File
@@ -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;
}
}
}