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