correct indentation of config-files
This commit is contained in:
parent
a796249867
commit
1ce1c18590
2 changed files with 37 additions and 37 deletions
|
|
@ -3,10 +3,10 @@
|
||||||
/**
|
/**
|
||||||
* NRE
|
* NRE
|
||||||
*
|
*
|
||||||
* @author coderkun <olli@coderkun.de>
|
* @author coderkun <olli@coderkun.de>
|
||||||
* @copyright 2013 coderkun (http://www.coderkun.de)
|
* @copyright 2013 coderkun (http://www.coderkun.de)
|
||||||
* @license http://www.gnu.org/licenses/gpl.html
|
* @license http://www.gnu.org/licenses/gpl.html
|
||||||
* @link http://www.coderkun.de/projects/nre
|
* @link http://www.coderkun.de/projects/nre
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace nre\configs;
|
namespace nre\configs;
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
* This class contains static variables with configuration values for
|
* This class contains static variables with configuration values for
|
||||||
* the specific application.
|
* the specific application.
|
||||||
*
|
*
|
||||||
* @author coderkun <olli@coderkun.de>
|
* @author coderkun <olli@coderkun.de>
|
||||||
*/
|
*/
|
||||||
final class AppConfig
|
final class AppConfig
|
||||||
{
|
{
|
||||||
|
|
@ -30,8 +30,8 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $app = array(
|
public static $app = array(
|
||||||
//'namespace' => '',
|
//'namespace' => '',
|
||||||
//'timeZone' => ''
|
//'timeZone' => ''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -42,10 +42,10 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $defaults = array(
|
public static $defaults = array(
|
||||||
//'toplevel' => '',
|
//'toplevel' => '',
|
||||||
//'toplevel-error' => '',
|
//'toplevel-error' => '',
|
||||||
//'intermediate' => '',
|
//'intermediate' => '',
|
||||||
//'intermediate-error' => ''
|
//'intermediate-error' => ''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $routes = array(
|
public static $routes = array(
|
||||||
//array('<pattern>', '<replace>', '<is_last>')
|
//array('<pattern>', '<replace>', '<is_last>')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $reverseRoutes = array(
|
public static $reverseRoutes = array(
|
||||||
//array('<pattern>', '<replace>', '<is_last>')
|
//array('<pattern>', '<replace>', '<is_last>')
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@
|
||||||
/**
|
/**
|
||||||
* NRE
|
* NRE
|
||||||
*
|
*
|
||||||
* @author coderkun <olli@coderkun.de>
|
* @author coderkun <olli@coderkun.de>
|
||||||
* @copyright 2013 coderkun (http://www.coderkun.de)
|
* @copyright 2013 coderkun (http://www.coderkun.de)
|
||||||
* @license http://www.gnu.org/licenses/gpl.html
|
* @license http://www.gnu.org/licenses/gpl.html
|
||||||
* @link http://www.coderkun.de/projects/nre
|
* @link http://www.coderkun.de/projects/nre
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace nre\configs;
|
namespace nre\configs;
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
*
|
*
|
||||||
* This class contains static variables with configuration values.
|
* This class contains static variables with configuration values.
|
||||||
*
|
*
|
||||||
* @author coderkun <olli@coderkun.de>
|
* @author coderkun <olli@coderkun.de>
|
||||||
*/
|
*/
|
||||||
final class CoreConfig
|
final class CoreConfig
|
||||||
{
|
{
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $core = array(
|
public static $core = array(
|
||||||
'namespace' => 'nre\\',
|
'namespace' => 'nre\\',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,8 +40,8 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $dirs = array(
|
public static $dirs = array(
|
||||||
'core' => 'core',
|
'core' => 'core',
|
||||||
'publicDir' => 'www'
|
'publicDir' => 'www'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -52,9 +52,9 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $fileExts = array(
|
public static $fileExts = array(
|
||||||
'default' => 'inc',
|
'default' => 'inc',
|
||||||
'views' => 'tpl',
|
'views' => 'tpl',
|
||||||
'logs' => 'log',
|
'logs' => 'log',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -65,9 +65,9 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $defaults = array(
|
public static $defaults = array(
|
||||||
'action' => 'index',
|
'action' => 'index',
|
||||||
'errorFile' => 'error',
|
'errorFile' => 'error',
|
||||||
'inlineErrorFile' => 'inlineerror'
|
'inlineErrorFile' => 'inlineerror'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $misc = array(
|
public static $misc = array(
|
||||||
'fileExtDot' => '.'
|
'fileExtDot' => '.'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -89,8 +89,8 @@
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $log = array(
|
public static $log = array(
|
||||||
'filename' => 'errors',
|
'filename' => 'errors',
|
||||||
'format' => 'Fehler %d: %s in %s, Zeile %d'
|
'format' => 'Fehler %d: %s in %s, Zeile %d'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -102,9 +102,9 @@
|
||||||
*/
|
*/
|
||||||
public static $classes = array(
|
public static $classes = array(
|
||||||
'linker' => array(
|
'linker' => array(
|
||||||
'url' => array(
|
'url' => array(
|
||||||
'length' => 128,
|
'length' => 128,
|
||||||
'delimiter' => '-'
|
'delimiter' => '-'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
@ -115,8 +115,8 @@
|
||||||
/**
|
/**
|
||||||
* Determine the directory for a specific classtype.
|
* Determine the directory for a specific classtype.
|
||||||
*
|
*
|
||||||
* @param string $classType Classtype to get directory of
|
* @param string $classType Classtype to get directory of
|
||||||
* @return string Directory of given classtype
|
* @return string Directory of given classtype
|
||||||
*/
|
*/
|
||||||
public static function getClassDir($classType)
|
public static function getClassDir($classType)
|
||||||
{
|
{
|
||||||
|
|
@ -144,8 +144,8 @@
|
||||||
/**
|
/**
|
||||||
* Determine the file extension for a specific filetype.
|
* Determine the file extension for a specific filetype.
|
||||||
*
|
*
|
||||||
* @param string $fileType Filetype to get file extension of
|
* @param string $fileType Filetype to get file extension of
|
||||||
* @return string File extension of given filetype
|
* @return string File extension of given filetype
|
||||||
*/
|
*/
|
||||||
public static function getFileExt($fileType)
|
public static function getFileExt($fileType)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue