diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 14:17:48 -0700 | 
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 14:17:48 -0700 | 
| commit | a5dfc81a8f7bef0305b62254252de6df23684199 (patch) | |
| tree | 4851cb68abede6920208871449dedd2e939c1a16 /installer/web.php | |
| parent | d5660d2d3ea6e8172272f1eb27e8071a1a42d87b (diff) | |
| parent | a9fcec755a835e284465bafcc9aba9ec9c2f0f62 (diff) | |
Merge commit 'upstream/master'
Conflicts:
	modules/akismet/views/admin_akismet.html.php
	modules/comment/helpers/comment_rss.php
	modules/gallery/helpers/gallery_rss.php
	modules/gallery/libraries/I18n.php
	modules/gallery/views/permissions_browse.html.php
	modules/gallery/views/simple_uploader.html.php
	modules/info/views/info_block.html.php
	modules/organize/controllers/organize.php
	modules/organize/views/organize.html.php
	modules/organize/views/organize_album.html.php
	themes/default/views/album.html.php
	themes/default/views/movie.html.php
	themes/default/views/photo.html.php
Diffstat (limited to 'installer/web.php')
| -rw-r--r-- | installer/web.php | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/installer/web.php b/installer/web.php index 78784539..aceb5368 100644 --- a/installer/web.php +++ b/installer/web.php @@ -41,6 +41,8 @@ if (installer::already_installed()) {      if (!installer::connect($config)) {        $content = render("invalid_db_info.html.php"); +    } else if (!installer::verify_version($config)) { +      $content = render("invalid_db_version.html.php");      } else if (!installer::select_db($config)) {        $content = render("missing_db.html.php");      } else if (!installer::db_empty($config)) { @@ -104,6 +106,10 @@ function check_environment() {      $errors[] = "PHP is missing the <a href=\"http://php.net/iconv\">iconv extension</a>";    } +  if (!(extension_loaded("simplexml"))) { +    $errors[] = "PHP is missing the <a href=\"http://php.net/simplexml\">SimpleXML extension</a>"; +  } +    if (extension_loaded("mbstring") && (ini_get("mbstring.func_overload") & MB_OVERLOAD_STRING)) {      $errors[] = "The <a href=\"http://php.net/mbstring\">mbstring extension</a> is overloading PHP's native string functions.  Please disable it.";    } | 
