mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge branch 'develop' into wip/laravel-6
This commit is contained in:
commit
dd8ceaa106
@ -220,7 +220,7 @@
|
||||
var tabControl = $('[data-control=tab]', self.$el),
|
||||
tabContainer = $('.nav-tabs', tabControl)
|
||||
|
||||
if (!tabControl.length || !$.contains(form.get(0), tabControl.get(0)))
|
||||
if (!tabControl.length || !form || !form.length || !$.contains(form.get(0), tabControl.get(0)))
|
||||
return
|
||||
|
||||
/*
|
||||
|
@ -11,8 +11,7 @@ $uri = urldecode(
|
||||
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
|
||||
// built-in PHP web server. This provides a convenient way to test a Laravel
|
||||
// application without having installed a "real" web server software here.
|
||||
if ($uri !== '/' and file_exists(__DIR__.'/'.$uri))
|
||||
{
|
||||
if ($uri !== '/' and file_exists(__DIR__.'/'.$uri)) {
|
||||
return false;
|
||||
}
|
||||
require_once __DIR__.'/index.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user