mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-12 12:25:48 +00:00
added email property
This commit is contained in:
parent
0ef1a83a1d
commit
34a0d86c92
2 changed files with 6 additions and 4 deletions
|
|
@ -42,6 +42,9 @@
|
|||
if (property_exists($user, 'url')) {
|
||||
$holder = '<a href="'.$user->url.'">' . $holder . '</a>';
|
||||
}
|
||||
if (property_exists($user, 'email')) {
|
||||
$holder = $holder . ' <<a href="mailto:' . $user->email . '">' . $user->email . '</a>>';
|
||||
}
|
||||
|
||||
if (property_exists($user, 'format')) {
|
||||
if (strtolower($user->format) == 'txt') {
|
||||
|
|
@ -111,6 +114,4 @@
|
|||
header('content-type: text/plain');
|
||||
}
|
||||
|
||||
echo $license;
|
||||
|
||||
?>
|
||||
echo $license;
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"copyright": "Batuhan Icoz, http://batu.me/1",
|
||||
"url": "http://batu.me/1"
|
||||
"url": "http://batu.me/1",
|
||||
"email": "i@batu.me"
|
||||
}
|
||||
Loading…
Reference in a new issue