Launch LaySite visual editor and MCP workspace
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
chdir(__DIR__);
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
$sessionPath = __DIR__ . '/runtime/sessions';
|
||||
if (!is_dir($sessionPath) && !mkdir($sessionPath, 0750, true) && !is_dir($sessionPath)) {
|
||||
throw new RuntimeException('无法创建会话目录。');
|
||||
}
|
||||
ini_set('session.save_path', $sessionPath);
|
||||
|
||||
support\App::run();
|
||||
Reference in New Issue
Block a user