Composer core updates, Fix for Form/Generate
This commit is contained in:
@@ -32,6 +32,7 @@ $LOG_FILE_ID = 'classTest-form';
|
|||||||
ob_end_flush();
|
ob_end_flush();
|
||||||
|
|
||||||
// define an array for page use
|
// define an array for page use
|
||||||
|
$table_arrays = [];
|
||||||
$table_arrays[\CoreLibs\Get\System::getPageName(1)] = [
|
$table_arrays[\CoreLibs\Get\System::getPageName(1)] = [
|
||||||
// form fields mtaching up with db fields
|
// form fields mtaching up with db fields
|
||||||
'table_array' => [
|
'table_array' => [
|
||||||
|
|||||||
@@ -321,9 +321,9 @@ class Generate extends \CoreLibs\DB\Extended\ArrayIO
|
|||||||
if (isset($config_array['load_query']) && $config_array['load_query']) {
|
if (isset($config_array['load_query']) && $config_array['load_query']) {
|
||||||
$this->load_query = $config_array['load_query'];
|
$this->load_query = $config_array['load_query'];
|
||||||
}
|
}
|
||||||
$this->archive_pk_name = 'a_' . $this->pk_name;
|
$this->archive_pk_name = 'a_' . $this->pk_name ?? '';
|
||||||
$this->col_name = str_replace('_id', '', $this->pk_name);
|
$this->col_name = str_replace('_id', '', $this->pk_name ?? '');
|
||||||
$this->int_pk_name = $this->pk_name;
|
$this->int_pk_name = $this->pk_name ?? '';
|
||||||
// check if reference_arrays are given and proceed them
|
// check if reference_arrays are given and proceed them
|
||||||
if (isset($config_array['reference_arrays']) && is_array($config_array['reference_arrays'])) {
|
if (isset($config_array['reference_arrays']) && is_array($config_array['reference_arrays'])) {
|
||||||
foreach ($config_array['reference_arrays'] as $key => $value) {
|
foreach ($config_array['reference_arrays'] as $key => $value) {
|
||||||
|
|||||||
6
www/vendor/composer/ClassLoader.php
vendored
6
www/vendor/composer/ClassLoader.php
vendored
@@ -37,8 +37,8 @@ namespace Composer\Autoload;
|
|||||||
*
|
*
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||||
* @see http://www.php-fig.org/psr/psr-0/
|
* @see https://www.php-fig.org/psr/psr-0/
|
||||||
* @see http://www.php-fig.org/psr/psr-4/
|
* @see https://www.php-fig.org/psr/psr-4/
|
||||||
*/
|
*/
|
||||||
class ClassLoader
|
class ClassLoader
|
||||||
{
|
{
|
||||||
@@ -60,7 +60,7 @@ class ClassLoader
|
|||||||
public function getPrefixes()
|
public function getPrefixes()
|
||||||
{
|
{
|
||||||
if (!empty($this->prefixesPsr0)) {
|
if (!empty($this->prefixesPsr0)) {
|
||||||
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
|
||||||
}
|
}
|
||||||
|
|
||||||
return array();
|
return array();
|
||||||
|
|||||||
1
www/vendor/composer/autoload_classmap.php
vendored
1
www/vendor/composer/autoload_classmap.php
vendored
@@ -6,4 +6,5 @@ $vendorDir = dirname(dirname(__FILE__));
|
|||||||
$baseDir = dirname($vendorDir);
|
$baseDir = dirname($vendorDir);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
|
||||||
);
|
);
|
||||||
|
|||||||
5
www/vendor/composer/autoload_real.php
vendored
5
www/vendor/composer/autoload_real.php
vendored
@@ -13,6 +13,9 @@ class ComposerAutoloaderInit10fe8fe2ec4017b8644d2b64bcf398b9
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return \Composer\Autoload\ClassLoader
|
||||||
|
*/
|
||||||
public static function getLoader()
|
public static function getLoader()
|
||||||
{
|
{
|
||||||
if (null !== self::$loader) {
|
if (null !== self::$loader) {
|
||||||
@@ -25,7 +28,7 @@ class ComposerAutoloaderInit10fe8fe2ec4017b8644d2b64bcf398b9
|
|||||||
|
|
||||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||||
if ($useStaticLoader) {
|
if ($useStaticLoader) {
|
||||||
require_once __DIR__ . '/autoload_static.php';
|
require __DIR__ . '/autoload_static.php';
|
||||||
|
|
||||||
call_user_func(\Composer\Autoload\ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9::getInitializer($loader));
|
call_user_func(\Composer\Autoload\ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9::getInitializer($loader));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
5
www/vendor/composer/autoload_static.php
vendored
5
www/vendor/composer/autoload_static.php
vendored
@@ -6,9 +6,14 @@ namespace Composer\Autoload;
|
|||||||
|
|
||||||
class ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9
|
class ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9
|
||||||
{
|
{
|
||||||
|
public static $classMap = array (
|
||||||
|
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
||||||
|
);
|
||||||
|
|
||||||
public static function getInitializer(ClassLoader $loader)
|
public static function getInitializer(ClassLoader $loader)
|
||||||
{
|
{
|
||||||
return \Closure::bind(function () use ($loader) {
|
return \Closure::bind(function () use ($loader) {
|
||||||
|
$loader->classMap = ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9::$classMap;
|
||||||
|
|
||||||
}, null, ClassLoader::class);
|
}, null, ClassLoader::class);
|
||||||
}
|
}
|
||||||
|
|||||||
6
www/vendor/composer/installed.json
vendored
6
www/vendor/composer/installed.json
vendored
@@ -1 +1,5 @@
|
|||||||
[]
|
{
|
||||||
|
"packages": [],
|
||||||
|
"dev": true,
|
||||||
|
"dev-package-names": []
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user