İlk temizlik tamamlandı bir önceki projeden
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
function cacheBladeLoad($cacheName) {
|
||||
|
||||
try {
|
||||
// Fetch the cached content
|
||||
$cachedContent = Storage::get('cache/'. $cacheName .'.blade.php');
|
||||
|
||||
// Display the cached content
|
||||
echo $cachedContent;
|
||||
} catch (\Throwable $th) {
|
||||
//throw $th;
|
||||
Log::error('Cache blade load error: ' . $th->getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user