Information Networking

This package is especially meant to offer routines for installing and uninstalling configuration files.

Config Files

In a XML file, packages can define directives to modify configuration files.

The file must be named config_files.xml, the content might look like this:

<zzoss_config_files>
        <filelist>
                <file role="htaccess" save-as="{ZI_root}.htaccess">
# redirect to our error page\r\n
ErrorDocument 401 {ZI_url_rel}errors/display.php\r\n
ErrorDocument 403 {ZI_url_rel}errors/display.php\r\n
ErrorDocument 404 {ZI_url_rel}errors/display.php\r\n
ErrorDocument 500 {ZI_url_rel}errors/display.php\r\n
                </file>
        </filelist>
</zzoss_config_files>

Here we define some directives for an Apache .htaccess file. Do not forget to manually include line feeds (\r\n) as shown in the example.

The {ZI_*} placeholders will be replaced by the value of the corresponding plugin variables provided by the installer (see ZzossInstallerPluginVariables).


Last edited on Saturday, July 5, 2003 1:14:47 pm.


Edit PageHistory Diff PageInfo DebugInfo

PHP Warnings

lib/WikiUser.php:50: Notice[8]: Only variables should be assigned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference

lib/Template.php:220: Notice[8]: Only variables should be assigned by reference

lib/Template.php:106: Notice[8]: Only variables should be assigned by reference

lib/Template.php:107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'top'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'top'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

lib/pear/DB/common.php(In template 'navbar'?)(In template 'top'?)(In template 'body'?)(In template 'html'?):741: Notice[8]: Only variable references should be returned by reference

lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'browse'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'browse'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'actionbar'?)(In template 'browse'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'actionbar'?)(In template 'browse'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference

Valid XHTML 1.0! Valid CSS!
Page Execution took 0.202 seconds

Print Print

Product

Professional release management and installation with ZZ/OSS Installer.

Event

Session PHP5 Enterprise Edition?, Panel Moderation Open Innovation.

Affiliate

Member of OSCOM, the international organisation for Open Source Content Management.

Company

Subscribe to the ZZ/OSS newsletter.

lib/Template.php(In template 'bottom'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference

lib/Template.php(In template 'bottom'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference