Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-07 19:48:16 +00:00
parent 774eed8b0e
commit 5055b443fc
235 changed files with 14833 additions and 14446 deletions

View File

@@ -101,7 +101,7 @@ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]\n";
{
//dd(public_path('.htaccess'),base_path('.htaccess'));
$file = public_path('.htaccess');
if (! \File::exists($file)) {
if (!\File::exists($file)) {
$file = base_path('/../.htaccess');
}
$this->deleteCustom();
@@ -113,7 +113,7 @@ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]\n";
public function deleteCustom()
{
$file = public_path('.htaccess');
if (! \File::exists($file)) {
if (!\File::exists($file)) {
$file = base_path('/../.htaccess');
}
$content = file_get_contents($file);