-
-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
In context of Nette app, with index.php
like:
<?php
if(file_exists(__DIR__ . '/../.deployment')) {
require '.maintenance.php';
}
// Let bootstrap create Dependency Injection container.
$container = require __DIR__ . '/../app/bootstrap.php';
// Run application.
$container->application->run();
the deployment script could write a temporary file in root directory eg .deployment
and after deployment is finished remove this file.
Metadata
Metadata
Assignees
Labels
No labels