Lines 97-102
Link Here
|
97 |
#else |
97 |
#else |
98 |
this->check_vhost_docroot = true; |
98 |
this->check_vhost_docroot = true; |
99 |
#endif |
99 |
#endif |
|
|
100 |
this->check_symlink_ownership = true; |
100 |
this->errors_to_browser = false; |
101 |
this->errors_to_browser = false; |
101 |
this->env_path = "/bin:/usr/bin"; |
102 |
this->env_path = "/bin:/usr/bin"; |
102 |
this->loglevel = LOGLEVEL_INFO; |
103 |
this->loglevel = LOGLEVEL_INFO; |
Lines 143-148
Link Here
|
143 |
this->strToBool(value); |
144 |
this->strToBool(value); |
144 |
else if (key == "check_vhost_docroot") |
145 |
else if (key == "check_vhost_docroot") |
145 |
this->check_vhost_docroot = this->strToBool(value); |
146 |
this->check_vhost_docroot = this->strToBool(value); |
|
|
147 |
else if (key == "check_symlink_ownership") |
148 |
this->check_symlink_ownership = this->strToBool(value); |
146 |
else if (key == "errors_to_browser") |
149 |
else if (key == "errors_to_browser") |
147 |
this->errors_to_browser = this->strToBool(value); |
150 |
this->errors_to_browser = this->strToBool(value); |
148 |
else if (key == "env_path") |
151 |
else if (key == "env_path") |
Lines 201-206
Link Here
|
201 |
return this->check_vhost_docroot; |
204 |
return this->check_vhost_docroot; |
202 |
} |
205 |
} |
203 |
|
206 |
|
|
|
207 |
bool suPHP::Configuration::getCheckSymlinkOwnership() const { |
208 |
return this->check_symlink_ownership; |
209 |
} |
210 |
|
204 |
bool suPHP::Configuration::getAllowFileGroupWriteable() const { |
211 |
bool suPHP::Configuration::getAllowFileGroupWriteable() const { |
205 |
return this->allow_file_group_writeable; |
212 |
return this->allow_file_group_writeable; |
206 |
} |
213 |
} |