diff --git a/db/connection.php b/db/connection.php index 19af362..0f9df91 100755 --- a/db/connection.php +++ b/db/connection.php @@ -397,4 +397,3 @@ class Connection } } -?> diff --git a/db/exception.php b/db/exception.php index 89397c8..ca8bedd 100644 --- a/db/exception.php +++ b/db/exception.php @@ -17,4 +17,3 @@ class Exception extends \Exception } } -?> diff --git a/configure.php b/environ.php similarity index 98% rename from configure.php rename to environ.php index 4a9cf7d..067e1e7 100644 --- a/configure.php +++ b/environ.php @@ -6,4 +6,3 @@ $vnAutoloadMap = []; $vnAutoloadMap['vn/lib'] = __DIR__.'/lib'; $vnAutoloadMap['vn/db'] = __DIR__.'/db'; -?> diff --git a/lib/app.php b/lib/app.php index 2065766..0847a9e 100644 --- a/lib/app.php +++ b/lib/app.php @@ -7,8 +7,8 @@ require_once __DIR__.'/util.php'; use Vn\Db\Connection; use Vn\Lib\Locale; -if (!defined ('_DEBUG_MODE')) - define ('_DEBUG_MODE', FALSE); +if (!defined ('_DEV_MODE')) + define ('_DEV_MODE', FALSE); if (!defined ('_CONFIG_DIR')) define ('_CONFIG_DIR', '/etc'); if (!defined ('_LOG_DIR')) @@ -54,7 +54,7 @@ class App function init () { 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']); @@ -179,4 +179,3 @@ class App } } -?> diff --git a/lib/cli-app.php b/lib/cli-app.php index 057cda6..1577252 100755 --- a/lib/cli-app.php +++ b/lib/cli-app.php @@ -39,4 +39,3 @@ class CliApp extends App } } -?> diff --git a/lib/exception.php b/lib/exception.php index cae858c..0ea6467 100755 --- a/lib/exception.php +++ b/lib/exception.php @@ -19,4 +19,3 @@ class Exception extends \Exception } } -?> diff --git a/lib/locale.php b/lib/locale.php index 47bdd7d..f8fe5df 100755 --- a/lib/locale.php +++ b/lib/locale.php @@ -109,4 +109,3 @@ namespace Vn\Lib } } -?> diff --git a/lib/log.php b/lib/log.php index ca7b59d..a4181cd 100644 --- a/lib/log.php +++ b/lib/log.php @@ -72,4 +72,3 @@ class Log } } -?> diff --git a/lib/method.php b/lib/method.php index 1e9a5b1..951d9b7 100644 --- a/lib/method.php +++ b/lib/method.php @@ -62,4 +62,3 @@ abstract class Method } } -?> diff --git a/lib/type.php b/lib/type.php index 65e3d03..821589a 100755 --- a/lib/type.php +++ b/lib/type.php @@ -66,4 +66,3 @@ class Type } } -?> diff --git a/lib/user-exception.php b/lib/user-exception.php index 8e884c7..0c4dfac 100755 --- a/lib/user-exception.php +++ b/lib/user-exception.php @@ -12,4 +12,3 @@ namespace Vn\Lib; **/ class UserException extends Exception {} -?> diff --git a/lib/util.php b/lib/util.php index 803b614..daf71c7 100755 --- a/lib/util.php +++ b/lib/util.php @@ -47,4 +47,3 @@ function hyphenToCamelCase ($string, $upperFirst = FALSE) return $result; } -?> diff --git a/vn-autoload.php b/vn-autoload.php index bfe4bb4..cfc696a 100644 --- a/vn-autoload.php +++ b/vn-autoload.php @@ -38,4 +38,3 @@ spl_autoload_register (function ($className) require_once $classPath; }); -?>