Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/TrueMoein/smsir
Browse files Browse the repository at this point in the history
fix conflicts
  • Loading branch information
TrueMoein committed Jun 2, 2018
2 parents 7ab9ff0 + 7f565d5 commit ab00045
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/SmsirServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ class SmsirServiceProvider extends ServiceProvider

public function boot()
{
// the main router
include_once __DIR__.'/routes.php';
if (config('smsir.panel-routes', true)) {
// the main router
include_once __DIR__.'/routes.php';
}
// the main views folder
$this->loadViewsFrom(__DIR__.'/views', 'smsir');
// the main migration folder for create smsir tables
Expand Down
4 changes: 3 additions & 1 deletion src/config/smsir.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/* Important Settings */

// ======================================================================

// never remove 'web', just put your middleware like auth or admin (if you have) here. eg: ['web','auth']
'middlewares' => ['web'],
// you can change default route from sms-admin to anything you want
Expand All @@ -19,7 +20,8 @@

// set true if you want log to the database
'db-log' => true,

// if you don't want to include admin panel routes set this to false
'panel-routes' => true,
/* Admin Panel Title */
'title' => 'مدیریت پیامک ها',
// How many log you want to show in sms-admin panel ?
Expand Down

0 comments on commit ab00045

Please sign in to comment.