Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
L
Liman MYS - Çekirdek
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
liman
Liman MYS - Çekirdek
Commits
34782307
Kaydet (Commit)
34782307
authored
Haz 18, 2020
tarafından
Mert ÇELEN
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
liman.app email changed to liman.dev
üst
77f960a0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
2020_05_18_102502_add_support_to_extensions.php
...igrations/2020_05_18_102502_add_support_to_extensions.php
+1
-1
content.blade.php
resources/views/layouts/content.blade.php
+1
-1
console.php
routes/console.php
+4
-4
No files found.
database/migrations/2020_05_18_102502_add_support_to_extensions.php
Dosyayı görüntüle @
34782307
...
...
@@ -14,7 +14,7 @@ class AddSupportToExtensions extends Migration
public
function
up
()
{
Schema
::
table
(
'extensions'
,
function
(
Blueprint
$table
)
{
$table
->
string
(
'support'
)
->
default
(
'administrator@liman.
app
'
);
$table
->
string
(
'support'
)
->
default
(
'administrator@liman.
dev
'
);
});
}
...
...
resources/views/layouts/content.blade.php
Dosyayı görüntüle @
34782307
<!-- Content Wrapper. Contains page content -->
<div
class=
"content-wrapper"
>
@if(auth()->check()
&&
user()->email == "administrator@liman.
app
")
@if(auth()->check()
&&
user()->email == "administrator@liman.
dev
")
<div
class=
"alert alert-danger customAlert"
>
<b>
{{__("Tam yetkili yönetici hesabı ile giriş yaptınız, sisteme zarar verebilirsiniz.")}}
</b>
</div>
...
...
routes/console.php
Dosyayı görüntüle @
34782307
...
...
@@ -20,7 +20,7 @@ Artisan::command('administrator', function () {
);
$user
=
User
::
where
([
"name"
=>
"Administrator"
,
"email"
=>
"administrator@liman.
app
"
,
"email"
=>
"administrator@liman.
dev
"
,
])
->
first
();
if
(
$user
)
{
$user
->
update
([
...
...
@@ -30,7 +30,7 @@ Artisan::command('administrator', function () {
$user
=
new
User
();
$user
->
fill
([
"name"
=>
"Administrator"
,
"email"
=>
"administrator@liman.
app
"
,
"email"
=>
"administrator@liman.
dev
"
,
"password"
=>
Hash
::
make
(
$password
),
"status"
=>
1
,
]);
...
...
@@ -38,7 +38,7 @@ Artisan::command('administrator', function () {
$user
->
save
();
$this
->
comment
(
"Liman MYS Administrator Kullanıcısı"
);
$this
->
comment
(
"Email : administrator@liman.
app
"
);
$this
->
comment
(
"Email : administrator@liman.
dev
"
);
$this
->
comment
(
"Parola : "
.
$password
.
""
);
})
->
describe
(
'Create administrator account to use'
);
...
...
@@ -99,7 +99,7 @@ Artisan::command('module:add {module_name}', function ($module_name) {
return
$this
->
error
(
"Modul klasoru bulunamadi!"
);
}
if
(
Module
::
where
([
"name"
=>
$module_name
])
->
exists
())
{
if
(
Module
::
where
([
"name"
=>
$module_name
])
->
exists
())
{
return
$this
->
error
(
"Boyle bir modul zaten var!"
);
}
$module
=
Module
::
create
([
"name"
=>
$module_name
,
"enabled"
=>
true
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment