Bugfixes importvorlage
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
+590
-590
File diff suppressed because it is too large
Load Diff
+732
-732
File diff suppressed because it is too large
Load Diff
+6104
-6097
File diff suppressed because it is too large
Load Diff
+1658
-1647
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user