mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
Bugfixes importvorlage
This commit is contained in:
parent
526506575a
commit
7e9503e1b6
@ -42,7 +42,7 @@ include_once(dirname(__DIR__) . '/www/lib/class.httpclient.php');
|
||||
if(!class_exists('AES')){
|
||||
$aes = '';
|
||||
$phpversion = phpversion();
|
||||
if($phpversion{0} == '7' && (int)$phpversion{2} > 0) $aes = '2';
|
||||
if($phpversion[0] == '7' && (int)$phpversion[2] > 0) $aes = '2';
|
||||
if($aes == 2 && is_file(dirname(__DIR__) . '/www/lib/class.aes' . $aes . '.php')){
|
||||
include_once(dirname(__DIR__) . '/www/lib/class.aes' . $aes . '.php');
|
||||
}else{
|
||||
|
@ -21,7 +21,7 @@ if(is_file(dirname(__DIR__).'/www/lib/class.erpapi_custom.php')){
|
||||
include_once dirname(__DIR__).'/www/lib/class.httpclient.php';
|
||||
$aes = '';
|
||||
$phpversion = PHP_VERSION;
|
||||
if(strpos($phpversion,'7') === 0 && (int)$phpversion{2} > 0)
|
||||
if(strpos($phpversion,'7') === 0 && (int)$phpversion[2] > 0)
|
||||
{
|
||||
$aes = '2';
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user