| @@ 208-216 (lines=9) @@ | ||
| 205 | return false; |
|
| 206 | } |
|
| 207 | ||
| 208 | function check_svn_binary() { |
|
| 209 | $bin = find_in_path('svn'); |
|
| 210 | if (is_executable($bin)) { |
|
| 211 | global $found_bins; |
|
| 212 | $found_bins['bin_svn'] = $bin; |
|
| 213 | return true; |
|
| 214 | } |
|
| 215 | return false; |
|
| 216 | } |
|
| 217 | ||
| 218 | function check_svn_write() { |
|
| 219 | @include("../ariadne.inc"); |
|
| @@ 226-234 (lines=9) @@ | ||
| 223 | return false; |
|
| 224 | } |
|
| 225 | ||
| 226 | function check_html_tidy() { |
|
| 227 | $bin = find_in_path('tidy'); |
|
| 228 | if (is_executable($bin)) { |
|
| 229 | global $found_bins; |
|
| 230 | $found_bins['bin_tidy'] = $bin; |
|
| 231 | return true; |
|
| 232 | } |
|
| 233 | return false; |
|
| 234 | } |
|
| 235 | ||
| 236 | function check_grep() { |
|
| 237 | $bin = find_in_path('grep'); |
|
| @@ 236-244 (lines=9) @@ | ||
| 233 | return false; |
|
| 234 | } |
|
| 235 | ||
| 236 | function check_grep() { |
|
| 237 | $bin = find_in_path('grep'); |
|
| 238 | if (is_executable($bin)) { |
|
| 239 | global $found_bins; |
|
| 240 | $found_bins['bin_grep'] = $bin; |
|
| 241 | return true; |
|
| 242 | } |
|
| 243 | return false; |
|
| 244 | } |
|
| 245 | ||
| 246 | function check_connect_db($conf) { |
|
| 247 | if ($conf && $conf->dbms) { |
|