bugfix, changed sql-patch naming scheme
This commit is contained in:
parent
a9487d8620
commit
7c6e9b3643
@ -475,7 +475,6 @@ class MySQL extends SQL {
|
||||
return $query;
|
||||
}
|
||||
|
||||
// FIXME: access mysql database instead of configured one
|
||||
public function tableExists(string $tableName): bool {
|
||||
$tableSchema = $this->connectionData->getProperty("database");
|
||||
$res = $this->select(new Count())
|
||||
|
@ -14,7 +14,7 @@ abstract class View extends StaticView {
|
||||
public function __construct(Document $document, bool $loadView = true) {
|
||||
$this->document = $document;
|
||||
$this->title = "Untitled View";
|
||||
$this->langModules = array();
|
||||
$this->langModules = [];
|
||||
$this->loadView = $loadView;
|
||||
}
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Core\Objects\DatabaseEntity\Attribute;
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_PROPERTY)] class Many {
|
||||
|
||||
private string $type;
|
||||
|
||||
public function __construct(string $type) {
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
public function getValue(): string {
|
||||
return $this->type;
|
||||
}
|
||||
}
|
0
Site/Elements/.gitkeep
Normal file
0
Site/Elements/.gitkeep
Normal file
@ -30,7 +30,10 @@ $context->parseCookies();
|
||||
$currentHostName = getCurrentHostName();
|
||||
|
||||
$installation = !$sql || ($sql->isConnected() && !$settings->isInstalled());
|
||||
$requestedUri = $_GET["site"] ?? $_GET["api"] ?? $_SERVER["REQUEST_URI"];
|
||||
$requestedUri = $_GET["site"] ?? $_GET["api"] ?? null;
|
||||
if (!is_string($requestedUri)) {
|
||||
$requestedUri = $_SERVER["REQUEST_URI"];
|
||||
}
|
||||
|
||||
if ($installation) {
|
||||
$requestedUri = Router::cleanURL($requestedUri);
|
||||
|
Loading…
Reference in New Issue
Block a user