Merge branch 'stable-3.0.5' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.0.5
| | |
| | | |
| | | root {apps_vhost_dir}; |
| | | |
| | | client_max_body_size 20M; |
| | | client_max_body_size 100M; |
| | | |
| | | location / { |
| | | index index.php index.html; |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | <script language="JavaScript" type="text/javascript"> |
| | | $('#username').closest('form').attr('autocomplete','on'); |
| | | </script> |
| | |
| | | jQuery(document).ready(function() { |
| | | loadInitContent(); |
| | | |
| | | $('form').attr('autocomplete','off'); |
| | | $('form').not('#dummy_login_form').attr('autocomplete','off'); |
| | | |
| | | $("#pageForm").submit(function(e){ |
| | | //Prevent form submit: e.preventDefault() in lists |
| | |
| | | jQuery(document).ready(function() { |
| | | loadInitContent(); |
| | | |
| | | $('form').attr('autocomplete','off'); |
| | | $('form').not('#dummy_login_form').attr('autocomplete','off'); |
| | | |
| | | $("#pageForm").submit(function(e){ |
| | | //Prevent form submit: e.preventDefault() in lists |
| | |
| | | |
| | | root {apps_vhost_dir}; |
| | | |
| | | client_max_body_size 20M; |
| | | client_max_body_size 100M; |
| | | |
| | | location / { |
| | | index index.php index.html; |
| | |
| | | } else { |
| | | exec($app->system->getinitcommand($daemon, 'reload').' 2>&1', $retval['output'], $retval['retval']); |
| | | } |
| | | |
| | | // nginx: do a syntax check because on some distributions, the init script always returns 0 - even if the syntax is not ok (how stupid is that?) |
| | | if($web_config['server_type'] == 'nginx' && $retval['retval'] == 0){ |
| | | exec('nginx -t 2>&1', $retval['output'], $retval['retval']); |
| | | } |
| | | return $retval; |
| | | } |
| | | |