Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-07 20:34:10 +00:00
parent 6066e82e9c
commit a5dde6a61a
232 changed files with 14828 additions and 14443 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);