Lines 92-97
Link Here
|
92 |
this->allow_directory_group_writeable = false; |
92 |
this->allow_directory_group_writeable = false; |
93 |
this->allow_file_others_writeable = false; |
93 |
this->allow_file_others_writeable = false; |
94 |
this->allow_directory_others_writeable = false; |
94 |
this->allow_directory_others_writeable = false; |
|
|
95 |
this->check_all_parent_directory_ownership = true; |
95 |
#ifdef OPT_DISABLE_CHECKPATH |
96 |
#ifdef OPT_DISABLE_CHECKPATH |
96 |
this->check_vhost_docroot = false; |
97 |
this->check_vhost_docroot = false; |
97 |
#else |
98 |
#else |
Lines 141-146
Link Here
|
141 |
else if (key == "allow_directory_others_writeable") |
142 |
else if (key == "allow_directory_others_writeable") |
142 |
this->allow_directory_others_writeable = |
143 |
this->allow_directory_others_writeable = |
143 |
this->strToBool(value); |
144 |
this->strToBool(value); |
|
|
145 |
else if (key == "check_all_parent_directory_ownership") |
146 |
this->check_all_parent_directory_ownership = |
147 |
this->strToBool(value); |
144 |
else if (key == "check_vhost_docroot") |
148 |
else if (key == "check_vhost_docroot") |
145 |
this->check_vhost_docroot = this->strToBool(value); |
149 |
this->check_vhost_docroot = this->strToBool(value); |
146 |
else if (key == "errors_to_browser") |
150 |
else if (key == "errors_to_browser") |
Lines 217-222
Link Here
|
217 |
return this->allow_directory_others_writeable; |
221 |
return this->allow_directory_others_writeable; |
218 |
} |
222 |
} |
219 |
|
223 |
|
|
|
224 |
bool suPHP::Configuration::getCheckAllParentDirectoryOwnership() const { |
225 |
return this->check_all_parent_directory_ownership; |
226 |
} |
227 |
|
220 |
bool suPHP::Configuration::getErrorsToBrowser() const { |
228 |
bool suPHP::Configuration::getErrorsToBrowser() const { |
221 |
return this->errors_to_browser; |
229 |
return this->errors_to_browser; |
222 |
} |
230 |
} |