replace tabs with spaces

This commit is contained in:
coderkun 2015-04-25 16:22:31 +02:00
commit 2a7ed82695
53 changed files with 6198 additions and 6198 deletions

View file

@ -1,51 +1,51 @@
<?php
/**
* NRE
*
* @author coderkun <olli@coderkun.de>
* @copyright 2013 coderkun (http://www.coderkun.de)
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.coderkun.de/projects/nre
*/
/**
* Define constants
*/
// Directory separator
if(!defined('DS')) {
/**
* @internal
*/
define('DS', DIRECTORY_SEPARATOR);
}
// Root directory
if(!defined('ROOT')) {
/**
* @internal
*/
define('ROOT', dirname(dirname(__FILE__)));
}
/**
* De-/Activate error messages
*/
if($_SERVER['SERVER_ADDR'] == '127.0.0.1' || $_SERVER['SERVER_ADDR'] == '::1') {
error_reporting(E_ALL);
ini_set('display_errors', 1);
ini_set('log_errors', 0);
}
else {
error_reporting(E_ALL);
ini_set('display_errors', 0);
ini_set('log_errors', 1);
}
/**
* NRE
*
* @author coderkun <olli@coderkun.de>
* @copyright 2013 coderkun (http://www.coderkun.de)
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.coderkun.de/projects/nre
*/
/**
* Run application
*/
require ROOT.DS.'bootstrap.inc';
/**
* Define constants
*/
// Directory separator
if(!defined('DS')) {
/**
* @internal
*/
define('DS', DIRECTORY_SEPARATOR);
}
// Root directory
if(!defined('ROOT')) {
/**
* @internal
*/
define('ROOT', dirname(dirname(__FILE__)));
}
/**
* De-/Activate error messages
*/
if($_SERVER['SERVER_ADDR'] == '127.0.0.1' || $_SERVER['SERVER_ADDR'] == '::1') {
error_reporting(E_ALL);
ini_set('display_errors', 1);
ini_set('log_errors', 0);
}
else {
error_reporting(E_ALL);
ini_set('display_errors', 0);
ini_set('log_errors', 1);
}
/**
* Run application
*/
require ROOT.DS.'bootstrap.inc';
?>