Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: index.php

Source Location: /public_html/admin/install/index.php



Page Details:



Includes:

require_once('../../lib-common.php') [line 1283]
Start the install/upgrade process

require_once($siteconfig_path) [line 1239]
Write the GL path to siteconfig.php

require_once($siteconfig_path) [line 1105]
require_once('lib-install.php') [line 36]
require_once($_PATH['db-config.php']) [line 1104]
The second step is to check permissions on the files/directories that Geeklog needs to be able to write to. The script uses the location of db-config.php from the previous step to determine location of everything.

require_once('lib-upgrade.php') [line 37]






INST_checkIfWritable [line 674]

boolean INST_checkIfWritable( array $files)

Check to see if required files are writable by the web server.



Tags:

return:  true if all files are writable


Parameters

array   $files   list of files to check
[ Top ]



INST_createDatabaseStructures [line 775]

boolean INST_createDatabaseStructures( )

Sets up the database tables



Tags:

return:  True if successful


[ Top ]



INST_defaultPluginInstall [line 901]

void INST_defaultPluginInstall( )

Handle default install of available plugins

Picks up and installs all plugins with an autoinstall.php. Any errors are silently ignored ...




[ Top ]



INST_getDefaultLanguage [line 867]

string INST_getDefaultLanguage( string $langpath, string $language, [boolean $utf8 = false])

Derive site's default language from available information



Tags:

return:  name of default language (for the config)


Parameters

string   $langpath   path where the language files are kept
string   $language   language used in the install script
boolean   $utf8   whether to use UTF-8
[ Top ]



INST_installEngine [line 48]

void INST_installEngine( string $install_type, int $install_step)

Installer engine

The guts of the installation and upgrade package.




Parameters

string   $install_type   'install' or 'upgrade'
int   $install_step  
  1. - 4
[ Top ]



INST_permissionWarning [line 698]

string INST_permissionWarning( array $files)

Returns an HTML formatted string containing a list of which files have incorrect permissions.



Tags:

return:  HTML and permission warning message.


Parameters

array   $files   List of files to check
[ Top ]



INST_personalizeAdminAccount [line 837]

void INST_personalizeAdminAccount( string $site_mail, string $site_url)

On a fresh install, set the Admin's account email and homepage



Parameters

string   $site_mail   email address, e.g. the site email
string   $site_url   the site's URL
[ Top ]



INST_showReturnFormData [line 740]

string INST_showReturnFormData( $post_data)

Returns the HTML form to return the user's inputted data to the previous page.



Tags:

return:  HTML form code.


Parameters

   $post_data  
[ Top ]



Documentation generated on Sat, 11 Feb 2012 02:07:45 -0500 by phpDocumentor 1.4.3