mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
More PHP7 strict typing
This commit is contained in:
parent
3a7ec4ecb0
commit
e8d38a6870
6 changed files with 13 additions and 30 deletions
|
|
@ -7,10 +7,6 @@ if (!\defined('RAINLOOP_APP_LIBRARIES_PATH'))
|
|||
|
||||
\define('RAINLOOP_INCLUDE_AS_API_DEF', isset($_ENV['RAINLOOP_INCLUDE_AS_API']) && $_ENV['RAINLOOP_INCLUDE_AS_API']);
|
||||
|
||||
if (!\function_exists('mb_strtoupper')) {
|
||||
exit('PHP mbstring required');
|
||||
}
|
||||
|
||||
function rainLoopSplAutoloadNamespaces() : array
|
||||
{
|
||||
return RAINLOOP_INCLUDE_AS_API_DEF ? array('RainLoop', 'Predis') :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue