phpDocumentor Install
[ class tree: Install ] [ index: Install ] [ all elements ]

Procedural File: index.php

Source Location: /install/index.php

Page Details

Gallery Installer

Includes
require ("steps/$className.class") [line 82]
[ Top ]

require_once ($g2Base.'lib/support/GallerySetupUtilities.class') [line 52]
[ Top ]

require_once ($g2Base.'install/StatusTemplate.class') [line 49]
[ Top ]

require_once ($g2Base.'install/GalleryStub.class') [line 47]

Gallery Installer

[ Top ]

require_once ($g2Base.'install/InstallStep.class') [line 48]
[ Top ]


Constants
INDEX_PHP  [line 53]

INDEX_PHP = basename(__FILE__)

[ Top ]


Functions
generateUrl  [line 315]

void generateUrl( $uri, [ $print = true]  )

Mini url generator for the installer

Parameters:
   $uri: 
   $print: 


[ Top ]
getBaseUrl  [line 291]

void getBaseUrl( )


[ Top ]
getGalleryDirUrl  [line 302]

void getGalleryDirUrl( )

Returns the URL to the G2 folder, e.g. http://example.com/gallery2/.



[ Top ]
populateDataDirectory  [line 224]

boolean populateDataDirectory( string $dataBase  )

(Re-) Create the gallery filesystem data structure

Parameters:
string   $dataBase:  absolute filesystem path of the storage directory

API Tags:
Return:  success whether the structure was created successfully


[ Top ]
processAutoCompleteRequest  [line 177]

void processAutoCompleteRequest( )


[ Top ]
secureStorageFolder  [line 271]

boolean secureStorageFolder( string $dataBase  )

Secure the storage folder from attempts to access it directly via the web by adding a .htaccess with a "Deny from all" directive. This won't have any effect on webservers other than Apache 1.2+ though.

Since we can't reliably tell whether the storage folder is web-accessible or not, we add this in all cases. It doesn't hurt.

Parameters:
string   $dataBase:  absolute filesystem path to the storage folder

API Tags:
Return:  true if the .htaccess file has been created successfully


[ Top ]
_  [line 60]

void _( $s  )
Parameters:
   $s: 


[ Top ]


Documentation generated on Sat, 21 Nov 2009 04:56:17 -0800 by phpDocumentor 1.3.0RC6