mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 01:40:22 -05:00
Rename SITE_NAME and SITE_DESC to APP_NAME and APP_DESC
This commit is contained in:
parent
d458798cce
commit
983536e505
9 changed files with 18 additions and 19 deletions
|
@ -1,8 +1,7 @@
|
|||
SITE_NAME='Hypothetical Template'
|
||||
SITE_DESC='A website template'
|
||||
|
||||
DEFAULT_LANGUAGE=en
|
||||
|
||||
APP_NAME='Hypothetical Template'
|
||||
APP_DESC='A website template'
|
||||
APP_ENV=local
|
||||
APP_DEBUG=true
|
||||
APP_LOG_LEVEL=debug
|
||||
|
|
|
@ -23,7 +23,7 @@ class ContactController extends Controller {
|
|||
// Send the email if the MAIL_SENDTO variable is set
|
||||
if (env('MAIL_SENDTO') != null) {
|
||||
Mail::send('email.contact', [ 'contact' => $contact ], function($mail) use ($contact) {
|
||||
$mail->from(env('MAIL_SENDFROM'), env('SITE_NAME'))
|
||||
$mail->from(env('MAIL_SENDFROM'), env('APP_NAME'))
|
||||
->to(env('MAIL_SENDTO'))
|
||||
->subject('Contact form submission');
|
||||
});
|
||||
|
|
|
@ -12,7 +12,7 @@ return [
|
|||
| any other location as required by the application or its packages.
|
||||
*/
|
||||
|
||||
'name' => env('SITE_NAME', 'Laravel'),
|
||||
'name' => env('APP_NAME', 'Laravel'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
@ -58,15 +58,15 @@ return array(
|
|||
),
|
||||
|
||||
'properties' => array(
|
||||
'creator' => env('SITE_NAME', 'Dashboard'),
|
||||
'lastModifiedBy' => env('SITE_NAME', 'Dashboard'),
|
||||
'creator' => env('APP_NAME', 'Dashboard'),
|
||||
'lastModifiedBy' => env('APP_NAME', 'Dashboard'),
|
||||
'title' => 'Spreadsheet Export',
|
||||
'description' => 'Exported Spreadsheet Data',
|
||||
'subject' => 'Spreadsheet export',
|
||||
'keywords' => 'excel, export',
|
||||
'category' => 'Excel',
|
||||
'manager' => env('SITE_NAME', 'Dashboard'),
|
||||
'company' => env('SITE_NAME', 'Dashboard'),
|
||||
'manager' => env('APP_NAME', 'Dashboard'),
|
||||
'company' => env('APP_NAME', 'Dashboard'),
|
||||
),
|
||||
|
||||
/*
|
||||
|
@ -106,7 +106,7 @@ return array(
|
|||
|
|
||||
*/
|
||||
|
||||
'creator' => env('SITE_NAME', 'Dashboard'),
|
||||
'creator' => env('APP_NAME', 'Dashboard'),
|
||||
|
||||
'csv' => array(
|
||||
/*
|
||||
|
|
|
@ -57,7 +57,7 @@ return [
|
|||
|
||||
'from' => [
|
||||
'address' => env('MAIL_SENDFROM', null),
|
||||
'name' => env('SITE_NAME', null),
|
||||
'name' => env('APP_NAME', null),
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</button>
|
||||
|
||||
<a class="navbar-brand" href="{{ url('/dashboard') }}">
|
||||
{{ env('SITE_NAME') }} Dashboard
|
||||
{{ env('APP_NAME') }} Dashboard
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
<footer>© {{ date('Y') }} {{ env('SITE_NAME') }}</footer>
|
||||
<footer>© {{ date('Y') }} {{ env('APP_NAME') }}</footer>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ Language::getSessionLanguage() }}">
|
||||
@set('page_title', (isset($title) ? $title . ' - ' : '') . env('SITE_NAME'))
|
||||
@set('page_title', (isset($title) ? $title . ' - ' : '') . env('APP_NAME'))
|
||||
@set('device_mobile', preg_match('/Mobi/', Request::header('User-Agent')) || preg_match('/iP(hone|ad|od);/', Request::header('User-Agent')))
|
||||
|
||||
<head>
|
||||
|
@ -12,19 +12,19 @@
|
|||
<meta name="theme-color" content="#fcfcfc" />
|
||||
|
||||
<meta name="title" content="{{ $page_title }}" />
|
||||
<meta name="description" content="{{ env('SITE_DESC') }}" />
|
||||
<meta name="description" content="{{ env('APP_DESC') }}" />
|
||||
<meta name="dc:title" content="{{ $page_title }}" />
|
||||
<meta name="dc:description" content="{{ env('SITE_DESC') }}" />
|
||||
<meta name="dc:description" content="{{ env('APP_DESC') }}" />
|
||||
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="{{ $page_title }}" />
|
||||
<meta property="og:description" content="{{ env('SITE_DESC') }}" />
|
||||
<meta property="og:description" content="{{ env('APP_DESC') }}" />
|
||||
<meta property="og:url" content="{{ Request::url() }}" />
|
||||
<meta property="og:image" content="{{ asset('/img/logo.png') }}" />
|
||||
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="{{ $page_title }}" />
|
||||
<meta name="twitter:description" content="{{ env('SITE_DESC') }}" />
|
||||
<meta name="twitter:description" content="{{ env('APP_DESC') }}" />
|
||||
<meta name="twitter:image" content="{{ asset('/img/logo.png') }}" />
|
||||
|
||||
<link rel="shortcut icon" href="{{ URL::to('/') }}/favicon.ico" />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>@yield('error-title') - {{ env('SITE_NAME') }}</title>
|
||||
<title>@yield('error-title') - {{ env('APP_NAME') }}</title>
|
||||
|
||||
<style>
|
||||
html, body {
|
||||
|
|
Loading…
Reference in a new issue