İlk temizlik tamamlandı bir önceki projeden
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
// Session settings moved to avoid header issues
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
ini_set('session.gc_probability', 1);
|
||||
}
|
||||
use App\Card;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use App\Contents;
|
||||
use App\Fields;
|
||||
use App\User;
|
||||
use Illuminate\Support\Facades\Blade;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
ob_start();
|
||||
foreach(glob(__DIR__."/Functions/*.php") AS $file) {
|
||||
//all custom functions include here
|
||||
include_once($file);
|
||||
}
|
||||
ob_end_clean();
|
||||
|
||||
Reference in New Issue
Block a user