TYPO3 CMS  TYPO3_6-2
ProductionPreset.php
Go to the documentation of this file.
1 <?php
3 
18 
23 
27  protected $name = 'Production';
28 
32  protected $priority = 50;
33 
37  protected $configurationValues = array(
38  'BE/debug' => FALSE,
39  'FE/debug' => FALSE,
40  'SYS/devIPmask' => '',
41  'SYS/displayErrors' => 0,
42  'SYS/enableDeprecationLog' => FALSE,
43  'SYS/sqlDebug' => 0,
44  'SYS/systemLogLevel' => 2,
45  'SYS/clearCacheSystem' => FALSE,
46  // E_RECOVERABLE_ERROR | E_USER_DEPRECATED
47  'SYS/exceptionalErrors' => 20480,
48  );
49 
55  public function isAvailable() {
56  return TRUE;
57  }
58 
65  public function getPriority() {
68  if ($context->isProduction()) {
69  $priority = $priority + 20;
70  }
71  return $priority;
72  }
73 }