diff --git a/.htaccess b/.htaccess index 5a2aa3f..70df031 100644 --- a/.htaccess +++ b/.htaccess @@ -5,7 +5,7 @@ AddDefaultCharset utf-8 RewriteEngine On # the main rewrite rule for the frontend application - RewriteCond %{REQUEST_URI} !^/(backend/web|admin|uploads) + RewriteCond %{REQUEST_URI} !^/(backend/web|admin|storage) RewriteRule !^frontend/web /frontend/web%{REQUEST_URI} [L] # redirect to the page without a trailing slash (uncomment if necessary) diff --git a/backend/views/site/index.php b/backend/views/site/index.php index 47faad7..86ddf19 100644 --- a/backend/views/site/index.php +++ b/backend/views/site/index.php @@ -3,57 +3,7 @@ /* @var $this yii\web\View */ use artweb\artbox\core\helpers\ImageHelper; - use artweb\artbox\gentelella\widgets\XPanel; - use yii\bootstrap\Collapse; $this->title = 'My Yii Application'; -?> - 'Test', - ] - ); - echo Collapse::widget( - [ - 'items' => [ - // equivalent to the above - [ - 'label' => '
Collapsible Group Item #1
', - 'content' => 'Anim pariatur cliche...', - // open its content by default - 'contentOptions' => [ 'class' => 'in' ], - ], - // another group item - [ - 'label' => 'Collapsible Group Item #1', - 'content' => 'Anim pariatur cliche...', - ], - // if you want to swap out .panel-body with .list-group, you may use the following - [ - 'label' => 'Collapsible Group Item #1', - 'content' => [ - 'Anim pariatur cliche...', - 'Anim pariatur cliche...', - ], - 'footer' => 'Footer' - // the footer label in list-group - ], - [ - 'label' => 'Collapsible Group Item #1', - 'content' => [ - 'Anim pariatur cliche...', - 'Anim pariatur cliche...', - ], - 'footer' => 'Footer', - // the footer label in list-group - ], - ], - 'options' => [ - 'class' => 'accordion', - ], - 'encodeLabels' => false, - ] - ); - $panel::end(); -?> \ No newline at end of file + + \ No newline at end of file -- libgit2 0.21.4