File/program/install.php

Description

/program/install.php - the main entrypoint for website installation

This is one of the main entry points for Website@School. Other main entry points are /admin.php, /cron.php, /file.php and /index.php. There is also /program/manual.php. Main entry points all define the constant WASENTRY. This is used in various include()ed files to detect break-in attempts.

  • author: Peter Fokker <peter@berestijn.nl>
  • version: $Id: install.php,v 1.5 2011-05-06 16:12:54 pfokker Exp $
  • copyright: Copyright (C) 2008-2011 Ingenieursbureau PSD/Peter Fokker
  • todo: how prevent third party-access to install.php after initial install? .htaccess? !exists(../config.php)?
  • todo: we should make sure that autosession is disabled in php.ini, otherwise was won't work
  • todo: we should make sure that we can actually set cookies (necessary when logging in).
  • todo: we should make sure that register globals is off
  • license: GNU AGPLv3+Additional Terms
Classes
Class Description
 class InstallWizard class for performing installation tasks
Includes
 include_once (dirname(__FILE__)."/lib/utf8lib.php") (line 60)
 include_once (dirname(__FILE__)."/version.php") (line 59)
Constants
INSTALL_DIALOG_CANCELLED = 11 (line 52)
INSTALL_DIALOG_CMS = 4 (line 45)
INSTALL_DIALOG_COMPATIBILITY = 6 (line 47)
INSTALL_DIALOG_CONFIRM = 7 (line 48)
INSTALL_DIALOG_DATABASE = 3 (line 44)
INSTALL_DIALOG_DONE = 9 (line 50)
INSTALL_DIALOG_DOWNLOAD = 10 (line 51)
INSTALL_DIALOG_FINISH = 8 (line 49)
INSTALL_DIALOG_INSTALLTYPE = 1 (line 42)
INSTALL_DIALOG_LANGUAGE = 0 (line 41)
INSTALL_DIALOG_LICENSE = 2 (line 43)
INSTALL_DIALOG_USER = 5 (line 46)
PROJECT_SITE = websiteatschool.eu (line 53)
WASENTRY = __FILE__ (line 37)

Valid entry points define WASENTRY; prevents direct access to include()'s.

Documentation generated on Wed, 11 May 2011 23:45:16 +0200 by phpDocumentor 1.4.0