HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


ocPortal Developer's Guide: Installation and Upgrading

» Return to Contents


These are special functions used by the installer and upgrader.

sources/inst_special.php

Global_functions_inst_special.php

Function summary

array get_chmod_array ()

array get_chmod_array()

Get the list of files that need CHmodding for write access.

Parameters…

Returns…

Description The list of files
Type array

Return to the function index for this class Expand: View the source code to this function

sources/ocf_install.php

Global_functions_ocf_install.php

Function summary

void init__ocf_install ()
void uninstall_ocf_everytime ()
void uninstall_ocf ()
void install_ocf (?float upgrade_from)

void init__ocf_install()

Standard code module initialisation function.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void uninstall_ocf_everytime()

Uninstall OCF (1).

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void uninstall_ocf()

Uninstall OCF (2).

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void install_ocf(?float upgrade_from)

Install/upgrade OCF.

Parameters…

Name upgrade_from
Description The version to upgrade from (NULL: fresh install).
Default value
Type ?float

(No return value)


Return to the function index for this class Expand: View the source code to this function