diff --git a/composer.json b/composer.json
index e288c7a..6f6fbb0 100644
--- a/composer.json
+++ b/composer.json
@@ -35,7 +35,7 @@
}
},
"scripts": {
- "testbench": "composer require --dev \"orchestra/testbench=~3.4.0\""
+ "testbench": "composer require --dev \"orchestra/testbench=~3.4\""
},
"extra": {
"branch-alias": {
diff --git a/resources/views/admin/_composers/sidebar/item.blade.php b/resources/views/admin/_composers/sidebar/item.blade.php
deleted file mode 100644
index be2a70d..0000000
--- a/resources/views/admin/_composers/sidebar/item.blade.php
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- @if ($item->hasChildren())
-
- {{ $item->title() }}
-
-
-
- @else
-
- {{ $item->title() }}
-
- @endif
-
diff --git a/resources/views/admin/_composers/sidebar/main.blade.php b/resources/views/admin/_composers/sidebar/main.blade.php
deleted file mode 100644
index 2efa53a..0000000
--- a/resources/views/admin/_composers/sidebar/main.blade.php
+++ /dev/null
@@ -1,4 +0,0 @@
-
diff --git a/resources/views/admin/_includes/sidebar.blade.php b/resources/views/admin/_includes/sidebar.blade.php
new file mode 100644
index 0000000..eeb2b86
--- /dev/null
+++ b/resources/views/admin/_includes/sidebar.blade.php
@@ -0,0 +1,43 @@
+childrenClass().' '.$item->activeClass('active open')).'">';
+
+ if ($item->hasChildren()) {
+ $output[] = '';
+ $output[] = ' '.$item->title().' ';
+ $output[] = '';
+ $output[] = '';
+ }
+ else {
+ $output[] = '';
+ $output[] = ' '.$item->title().'';
+ $output[] = '';
+ }
+
+ $output[] = '';
+
+ return implode(PHP_EOL, $output);
+}
+
+?>
+
+
diff --git a/resources/views/admin/_template/sidebar-main.blade.php b/resources/views/admin/_template/sidebar-main.blade.php
index e221f5e..fc8e65c 100644
--- a/resources/views/admin/_template/sidebar-main.blade.php
+++ b/resources/views/admin/_template/sidebar-main.blade.php
@@ -26,6 +26,6 @@
@endif
- {{ sidebar()->render('foundation::admin._composers.sidebar.main') }}
+ {{ sidebar()->render('foundation::admin._includes.sidebar') }}
diff --git a/resources/views/admin/system/log-viewer/_includes/timeline-pagination.blade.php b/resources/views/admin/system/log-viewer/_includes/timeline-pagination.blade.php
index 79ebd98..b2a11ee 100644
--- a/resources/views/admin/system/log-viewer/_includes/timeline-pagination.blade.php
+++ b/resources/views/admin/system/log-viewer/_includes/timeline-pagination.blade.php
@@ -1,7 +1,7 @@
- {!! $entries->render('foundation::admin_partials.pagination.small') !!}
+ {!! $entries->render('foundation::admin._partials.pagination.small') !!}
diff --git a/src/ViewComposers/System/ApplicationInfoComposer.php b/src/ViewComposers/System/ApplicationInfoComposer.php
index d19bf8a..b5657f2 100644
--- a/src/ViewComposers/System/ApplicationInfoComposer.php
+++ b/src/ViewComposers/System/ApplicationInfoComposer.php
@@ -1,6 +1,8 @@
getFolderSize($each);
+ foreach(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)) as $directory){
+ $size += $directory->getSize();
}
return $size;