Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-03 08:26:59 +00:00
parent fd79c97a1d
commit 9d1a57f99d
236 changed files with 14774 additions and 14382 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);