增加docke部署

This commit is contained in:
2026-04-10 16:44:13 +08:00
parent e2f8054794
commit cd4ddb606d
5076 changed files with 701092 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php/$1 [L]

View File

@@ -0,0 +1,27 @@
<?php
use phprs\Bootstrap;
use phprs\util\Logger;
require '../../framework/bootstrap.inc.php';
//ini_set('display_errors', 0);
// ** if using composer, disable the following line **
require_once __DIR__.'/../../lib/phprs/AutoLoad.php';
// ** if using composer, enable the following line **
//require_once __DIR__."/../vendor/autoload.php";
//set log flag
//Logger::$flags = Logger::WARNING|Logger::DEBUG|Logger::ERROR|Logger::INFO;
//set log output
//Logger::$writer = Logger::$to_echo;
//simulate request in CLI
//$_SERVER['REQUEST_URI'] = '/api/apis';
//$_SERVER['REQUEST_METHOD'] = 'GET';
Bootstrap::run(__DIR__.'/../conf.php');
$_W = array();