| @@ 215-223 (lines=9) @@ | ||
| 212 | return false; |
|
| 213 | } |
|
| 214 | ||
| 215 | function check_svn_binary() { |
|
| 216 | $bin = find_in_path('svn'); |
|
| 217 | if (is_executable($bin)) { |
|
| 218 | global $found_bins; |
|
| 219 | $found_bins['bin_svn'] = $bin; |
|
| 220 | return true; |
|
| 221 | } |
|
| 222 | return false; |
|
| 223 | } |
|
| 224 | ||
| 225 | function check_svn_write() { |
|
| 226 | @include("../ariadne.inc"); |
|
| @@ 233-241 (lines=9) @@ | ||
| 230 | return false; |
|
| 231 | } |
|
| 232 | ||
| 233 | function check_html_tidy() { |
|
| 234 | $bin = find_in_path('tidy'); |
|
| 235 | if (is_executable($bin)) { |
|
| 236 | global $found_bins; |
|
| 237 | $found_bins['bin_tidy'] = $bin; |
|
| 238 | return true; |
|
| 239 | } |
|
| 240 | return false; |
|
| 241 | } |
|
| 242 | ||
| 243 | function check_grep() { |
|
| 244 | $bin = find_in_path('grep'); |
|
| @@ 243-251 (lines=9) @@ | ||
| 240 | return false; |
|
| 241 | } |
|
| 242 | ||
| 243 | function check_grep() { |
|
| 244 | $bin = find_in_path('grep'); |
|
| 245 | if (is_executable($bin)) { |
|
| 246 | global $found_bins; |
|
| 247 | $found_bins['bin_grep'] = $bin; |
|
| 248 | return true; |
|
| 249 | } |
|
| 250 | return false; |
|
| 251 | } |
|
| 252 | ||
| 253 | function check_connect_db($conf) { |
|
| 254 | if ($conf && $conf->dbms) { |
|