第 1 頁 (共 1 頁)
phpdesktop
發表於 : 2018-04-17 09:27:17
由 yehlu
https://github.com/cztomczak/phpdesktop ... rt#laravel
代碼: 選擇全部
"web_server": {
...
"www_directory": "www/public",
...
"404_handler": "/index.php"
Re: phpdesktop sqlite
發表於 : 2018-04-17 10:20:26
由 yehlu
.env
代碼: 選擇全部
#DB_CONNECTION=mysql
DB_CONNECTION=sqlite
DB_HOST=127.0.0.1
DB_PORT=3306
#DB_DATABASE=einv
DB_USERNAME=root
DB_PASSWORD=root
config/database.php
代碼: 選擇全部
'database' => env('DB_DATABASE', database_path('551einv.db')),
app/Admin/Controller/HomeController.php
代碼: 選擇全部
/*
DB::statement("
Re: phpdesktop
發表於 : 2018-04-17 10:29:02
由 yehlu
代碼: 選擇全部
"web_server": {
"listen_on": ["*", 55180],
"www_directory": "www/public",
"index_files": ["index.html", "index.php"],
"cgi_interpreter": "php/php-cgi.exe",
"cgi_extensions": ["php"],
"cgi_temp_dir": "",
"404_handler": "/index.php",
"hide_files": []
},