Initial commit: Animexe Laravel platform
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// KURULUM SONRASI HEMEN SİL!
|
||||
if (($_GET['key'] ?? '') !== 'animexe-setup-2024') {
|
||||
die('Yetkisiz erişim.');
|
||||
}
|
||||
|
||||
define('LARAVEL_START', microtime(true));
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
$app = require_once __DIR__.'/../bootstrap/app.php';
|
||||
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||
|
||||
echo '<pre>';
|
||||
|
||||
$kernel->call('migrate', ['--force' => true]);
|
||||
echo "MIGRATE:\n" . $kernel->output() . "\n";
|
||||
|
||||
$kernel->call('storage:link');
|
||||
echo "STORAGE LINK:\n" . $kernel->output() . "\n";
|
||||
|
||||
$kernel->call('config:cache');
|
||||
echo "CONFIG CACHE:\n" . $kernel->output() . "\n";
|
||||
|
||||
$kernel->call('route:cache');
|
||||
echo "ROUTE CACHE:\n" . $kernel->output() . "\n";
|
||||
|
||||
$kernel->call('view:cache');
|
||||
echo "VIEW CACHE:\n" . $kernel->output() . "\n";
|
||||
|
||||
echo '</pre>';
|
||||
echo '<h3 style="color:red">BU DOSYAYI HEMEN SİL! /public/setup.php</h3>';
|
||||
Reference in New Issue
Block a user