mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-14 07:28:41 +00:00
Force logging output
This commit is contained in:
parent
606069056e
commit
ce939eb7de
|
|
@ -523,25 +523,6 @@ class Builder extends BuilderAbstract
|
||||||
return $this->wheres[self::getPublicColumnName($column)] ?? null;
|
return $this->wheres[self::getPublicColumnName($column)] ?? null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get table name of system
|
|
||||||
*
|
|
||||||
* @param mixed $expression System expression
|
|
||||||
* @param string $systemIdentifier System identifier
|
|
||||||
*
|
|
||||||
* @return string|null
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
public function getTableOfSystem($expression, string $systemIdentifier) : ?string
|
|
||||||
{
|
|
||||||
if (($pos = \strpos($expression, $systemIdentifier . '.' . $systemIdentifier)) === false) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return \explode('.', $expression)[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Where and sub condition.
|
* Where and sub condition.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
ini_set('memory_limit', '2048M');
|
ini_set('memory_limit', '2048M');
|
||||||
|
ini_set('display_errors', 1);
|
||||||
|
ini_set('display_startup_errors', 1);
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
if (\file_exists('vendor/autoload.php')) {
|
if (\file_exists('vendor/autoload.php')) {
|
||||||
include_once 'vendor/autoload.php';
|
include_once 'vendor/autoload.php';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user