/sanity_check.php

Description

Checks to see if the version of php you are using is newer then 4.3.

Checks to see if the config.php, the index directory, the media directory, and the media/thumbs directory are writable. Checks to see if the imagecreatefromjpeg, xml_parser_create, and GregorianToJD functions exist. Checks to see if the DomDocument class exists. Checks to see if the database is configured correctly. Checks to see if the "config.php", "includes", "includes/session.php", "includes/functions.php", All of these things are checked when the editconfig.php file is first loaded. If any of the checks fail the appropriate error or warning message will be displayed.

phpGedView: Genealogy Viewer Copyright (C) 2002 to 2003 John Finlay and Others

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: sanity_check.php 630 2006-12-01 23:44:10Z yalnifj $
  • see: editconfig.php
Includes
require ("config.php") (line 114)
require_once ($confighelpfile[$LANGUAGE]) (line 182)
require_once ($confighelpfile["english"]) (line 180)
Functions
file_is_writable (line 50)

Checks to see if the version of php you are using is newer then 4.3.

Checks to see if the config.php, the index directory, the media directory, and the media/thumbs directory are writable. Checks to see if the imagecreatefromjpeg, xml_parser_create, and GregorianToJD functions exist. Checks to see if the DomDocument class exists. Checks to see if the database is configured correctly. Checks to see if the "config.php", "includes", "includes/session.php", "includes/functions.php", All of these things are checked when the editconfig.php file is first loaded. If any of the checks fail the appropriate error or warning message will be displayed.

phpGedView: Genealogy Viewer Copyright (C) 2002 to 2003 John Finlay and Others

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: sanity_check.php 630 2006-12-01 23:44:10Z yalnifj $
  • see: editconfig.php
void file_is_writable ( $file)
  • $file
print_sanity_errors (line 61)
void print_sanity_errors ()

Documentation generated on Wed, 28 Mar 2007 09:54:35 -0600 by phpDocumentor 1.3.1