PHP end tag removed from all files, various fixes
This commit is contained in:
parent
d5912072f2
commit
a2831d12c0
|
@ -397,4 +397,3 @@ class Connection
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -17,4 +17,3 @@ class Exception extends \Exception
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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';
|
||||||
|
|
||||||
?>
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -39,4 +39,3 @@ class CliApp extends App
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -19,4 +19,3 @@ class Exception extends \Exception
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -109,4 +109,3 @@ namespace Vn\Lib
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -72,4 +72,3 @@ class Log
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -62,4 +62,3 @@ abstract class Method
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -66,4 +66,3 @@ class Type
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -12,4 +12,3 @@ namespace Vn\Lib;
|
||||||
**/
|
**/
|
||||||
class UserException extends Exception {}
|
class UserException extends Exception {}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -47,4 +47,3 @@ function hyphenToCamelCase ($string, $upperFirst = FALSE)
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -38,4 +38,3 @@ spl_autoload_register (function ($className)
|
||||||
require_once $classPath;
|
require_once $classPath;
|
||||||
});
|
});
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
Loading…
Reference in New Issue