PHP end tag removed from all files, various fixes

This commit is contained in:
Juan Ferrer Toribio 2016-10-11 16:46:06 +02:00
parent d5912072f2
commit a2831d12c0
13 changed files with 3 additions and 16 deletions

View File

@ -397,4 +397,3 @@ class Connection
} }
} }
?>

View File

@ -17,4 +17,3 @@ class Exception extends \Exception
} }
} }
?>

View File

@ -6,4 +6,3 @@ $vnAutoloadMap = [];
$vnAutoloadMap['vn/lib'] = __DIR__.'/lib'; $vnAutoloadMap['vn/lib'] = __DIR__.'/lib';
$vnAutoloadMap['vn/db'] = __DIR__.'/db'; $vnAutoloadMap['vn/db'] = __DIR__.'/db';
?>

View File

@ -7,8 +7,8 @@ require_once __DIR__.'/util.php';
use Vn\Db\Connection; use Vn\Db\Connection;
use Vn\Lib\Locale; use Vn\Lib\Locale;
if (!defined ('_DEBUG_MODE')) if (!defined ('_DEV_MODE'))
define ('_DEBUG_MODE', FALSE); define ('_DEV_MODE', FALSE);
if (!defined ('_CONFIG_DIR')) if (!defined ('_CONFIG_DIR'))
define ('_CONFIG_DIR', '/etc'); define ('_CONFIG_DIR', '/etc');
if (!defined ('_LOG_DIR')) if (!defined ('_LOG_DIR'))
@ -54,7 +54,7 @@ class App
function init () function init ()
{ {
ini_set ('log_errors', TRUE); ini_set ('log_errors', TRUE);
ini_set ('error_log', _LOG_DIR .'/'. $this->name .'.log'); //ini_set ('error_log', _LOG_DIR .'/'. $this->name .'.log');
register_shutdown_function ([$this, 'deinit']); register_shutdown_function ([$this, 'deinit']);
@ -179,4 +179,3 @@ class App
} }
} }
?>

View File

@ -39,4 +39,3 @@ class CliApp extends App
} }
} }
?>

View File

@ -19,4 +19,3 @@ class Exception extends \Exception
} }
} }
?>

View File

@ -109,4 +109,3 @@ namespace Vn\Lib
} }
} }
?>

View File

@ -72,4 +72,3 @@ class Log
} }
} }
?>

View File

@ -62,4 +62,3 @@ abstract class Method
} }
} }
?>

View File

@ -66,4 +66,3 @@ class Type
} }
} }
?>

View File

@ -12,4 +12,3 @@ namespace Vn\Lib;
**/ **/
class UserException extends Exception {} class UserException extends Exception {}
?>

View File

@ -47,4 +47,3 @@ function hyphenToCamelCase ($string, $upperFirst = FALSE)
return $result; return $result;
} }
?>

View File

@ -38,4 +38,3 @@ spl_autoload_register (function ($className)
require_once $classPath; require_once $classPath;
}); });
?>