Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

package.ini [PackageSettings]

The settings of [PackageSettings] in package.ini: RepositoryDirectories, ExtensionDirectories, HandlerAlias, TypeList, StateList

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/package/PackageSettings.md

On this page

package.ini [PackageSettings]

The block [PackageSettings] of settings/package.ini, with 5 setting(s).

Never edit settings/package.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/package.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/package.ini.append.php for one siteaccess,
  • extension/<extension>/settings/package.ini.append.php in an extension (read when the extension is active).

RepositoryDirectories

Default: a list of 1: kernel/classes.

<?php /* #?ini charset="utf-8"?
# settings/override/package.ini.append.php
[PackageSettings]
# an empty "RepositoryDirectories[]" first replaces the shipped list; without it the items are added
RepositoryDirectories[]
RepositoryDirectories[]=kernel/classes
*/ ?>

ExtensionDirectories

A list of extensions which have package handlers support
The extension must place package handlers in the
subdirectory packagehandlers.

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/package.ini.append.php
[PackageSettings]
# an empty "ExtensionDirectories[]" first replaces the shipped list; without it the items are added
ExtensionDirectories[]
*/ ?>

HandlerAlias

Aliases for handlers, this allows handlers to have
nicer names and also shortcuts for doing specific items.

Default: a hash of 12: ezcontentclass=eZContentClassPackageHandler, ezcontentobject=eZContentObjectPackageHandler, eziniaddon=eZINIAddonPackageHandler, ezfile=eZFilePackageHandler, ezini=eZFilePackageHandler, ezdesign=eZFilePackageHandler, eztemplate=eZFilePackageHandler, ezthumbnail=eZFilePackageHandler, ezsql=eZDBPackageHandler, ezextension=eZExtensionPackageHandler, ezinstallscript=eZInstallScriptPackageHandler, expstatictarget=expStaticTargetPackageHandler.

<?php /* #?ini charset="utf-8"?
# settings/override/package.ini.append.php
[PackageSettings]
# an empty "HandlerAlias[]" first replaces the shipped list; without it the items are added
HandlerAlias[]
HandlerAlias[ezcontentclass]=eZContentClassPackageHandler
HandlerAlias[ezcontentobject]=eZContentObjectPackageHandler
HandlerAlias[eziniaddon]=eZINIAddonPackageHandler
HandlerAlias[ezfile]=eZFilePackageHandler
HandlerAlias[ezini]=eZFilePackageHandler
HandlerAlias[ezdesign]=eZFilePackageHandler
HandlerAlias[eztemplate]=eZFilePackageHandler
HandlerAlias[ezthumbnail]=eZFilePackageHandler
HandlerAlias[ezsql]=eZDBPackageHandler
HandlerAlias[ezextension]=eZExtensionPackageHandler
HandlerAlias[ezinstallscript]=eZInstallScriptPackageHandler
HandlerAlias[expstatictarget]=expStaticTargetPackageHandler
*/ ?>

TypeList

Packages of extensions: the extension export wizard makes them, and the package server has
several (ezwebin_extension ...). Listed since 6.0.15, so the Type limitation of the package
policies can name them.

Default: a hash of 5: contentobject=Content object, contentclass=Content class, sitestyle=Site style, site=Site, extension=Extension.

<?php /* #?ini charset="utf-8"?
# settings/override/package.ini.append.php
[PackageSettings]
# an empty "TypeList[]" first replaces the shipped list; without it the items are added
TypeList[]
TypeList[contentobject]=Content object
TypeList[contentclass]=Content class
TypeList[sitestyle]=Site style
TypeList[site]=Site
TypeList[extension]=Extension
*/ ?>

StateList

Default: a hash of 5: mature=Mature, stable=Stable, beta=Beta, alpha=Alpha, prealpha=Pre-Alpha.

<?php /* #?ini charset="utf-8"?
# settings/override/package.ini.append.php
[PackageSettings]
# an empty "StateList[]" first replaces the shipped list; without it the items are added
StateList[]
StateList[mature]=Mature
StateList[stable]=Stable
StateList[beta]=Beta
StateList[alpha]=Alpha
StateList[prealpha]=Pre-Alpha
*/ ?>

Generated by ./console exp:help:examples from settings/package.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x