diff --git a/.htaccess b/.htaccess new file mode 100644 index 000000000..28fd9fa74 --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ + + RewriteEngine on + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] + \ No newline at end of file diff --git a/auto_install.json b/auto_install.json new file mode 100644 index 000000000..b6a2bc9ae --- /dev/null +++ b/auto_install.json @@ -0,0 +1,15 @@ +{ + "php_ext":"pathinfo,redis", + "chmod":[ + {"mode":777,"path":"app/public/attachment"}, + {"mode":777,"path":"/bin"} + ], + "success_url":"/app/public/install", + "php_versions":"56,70,71,72,73", + "db_config":"/app/config/deploy/database.cfg.php", + "admin_username":"", + "admin_password":"", + "run_path":"/app/public", + "remove_file":[], + "enable_functions":[] +} \ No newline at end of file diff --git a/nginx.rewrite b/nginx.rewrite new file mode 100644 index 000000000..99a67c48d --- /dev/null +++ b/nginx.rewrite @@ -0,0 +1,3 @@ +location / { + try_files $uri $uri/ /index.php?$query_string; +} \ No newline at end of file