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

content.ini [TrashSettings]

The settings of [TrashSettings] in content.ini: KeepItemsForDays

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/content/TrashSettings.md

On this page

content.ini [TrashSettings]

The block [TrashSettings] of settings/content.ini, with 1 setting(s).

ResolverClasses[]=myNameResolver

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

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

KeepItemsForDays

How many days an item stays in the trash before the cronjob trashpurge
(cronjobs/trashpurge.php) purges it. Empty or 0: the cronjob purges the whole
trash, as before. A value that is not a whole number of days up to 36500 purges
nothing and reports an error. bin/php/trashpurge.php is not affected; it takes
--trashed-days=<days>. Items trashed before 6.0 have no trash time (trashed = 0)
and are purged on the first run whatever the value; see the guide to keep them.
Guide: doc/eng-us/bc/6.0/trash.md

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[TrashSettings]
KeepItemsForDays=
*/ ?>

Generated by ./console exp:help:examples from settings/content.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