Add h5ai patch
This commit is contained in:
parent
cf62b213dc
commit
0ed4d78d19
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/class-setup.php
|
||||||
|
+++ b/class-setup.php
|
||||||
|
@@ -97,7 +97,7 @@ class Setup {
|
||||||
|
$this->set('H5AI_PATH', Util::normalize_path(dirname(dirname(dirname(dirname(__FILE__)))), false));
|
||||||
|
|
||||||
|
$this->set('ROOT_HREF', Util::normalize_path(dirname($this->get('H5AI_HREF')), true));
|
||||||
|
- $this->set('ROOT_PATH', Util::normalize_path(dirname($this->get('H5AI_PATH')), false));
|
||||||
|
+ $this->set('ROOT_PATH', "/var/www");
|
||||||
|
|
||||||
|
$this->set('PUBLIC_HREF', Util::normalize_path($this->get('H5AI_HREF') . '/public/', true));
|
||||||
|
$this->set('PUBLIC_PATH', Util::normalize_path($this->get('H5AI_PATH') . '/public/', false));
|
|
@ -0,0 +1,9 @@
|
||||||
|
[supervisord]
|
||||||
|
nodaemon=true
|
||||||
|
logfile=/var/log/supervisor/supervisord.log
|
||||||
|
|
||||||
|
[program:php5-fpm]
|
||||||
|
command=/usr/sbin/php5-fpm --nodaemonize
|
||||||
|
|
||||||
|
[program:nginx]
|
||||||
|
command=/usr/sbin/nginx -g "daemon off;"
|
Loading…
Reference in New Issue