You are here

constant SCALD_ACTIONS_MAX_POWER in Scald: Media Management made easy 7

Same name and namespace in other branches
  1. 6 scald.constants.inc \SCALD_ACTIONS_MAX_POWER

Defines the maximum power assignable to an action.

There are dozens of issues with integer values and variables in PHP. All integer values are unsigned and so the highest bit which is truly safe to use in the way that Scald does is the 31st bit.

This is the max power which can live in the db.

This constants limits the number of actions that can be defined at the same time in any given site.

File

includes/scald.constants.inc, line 28
Scald Constants

Code

define('SCALD_ACTIONS_MAX_POWER', 30);