diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 diff --git a/composer.lock b/composer.lock old mode 100644 new mode 100755 diff --git a/home/img/Hexagon.svg b/home/img/Hexagon.svg old mode 100644 new mode 100755 diff --git a/home/img/carbon.png b/home/img/carbon.png old mode 100644 new mode 100755 diff --git a/home/img/carbon1.png b/home/img/carbon1.png old mode 100644 new mode 100755 diff --git a/home/img/carbon2.png b/home/img/carbon2.png old mode 100644 new mode 100755 diff --git a/home/img/carbon3.png b/home/img/carbon3.png old mode 100644 new mode 100755 diff --git a/home/index.html b/home/index.html old mode 100644 new mode 100755 diff --git a/home/js/fa.js b/home/js/fa.js old mode 100644 new mode 100755 diff --git a/home/styles/_root.scss b/home/styles/_root.scss old mode 100644 new mode 100755 diff --git a/home/styles/style.css b/home/styles/style.css old mode 100644 new mode 100755 diff --git a/home/styles/style.scss b/home/styles/style.scss old mode 100644 new mode 100755 diff --git a/index.php b/index.php old mode 100644 new mode 100755 diff --git a/src/Model/Model.php b/src/Model/Model.php old mode 100644 new mode 100755 index 25a2d75..20e3a9e --- a/src/Model/Model.php +++ b/src/Model/Model.php @@ -259,7 +259,7 @@ public static function All(mixed $table, iterable $where=null, iterable $where_l $stmt = self::$connection->query($sql); $stmt->execute(); - if ($json = true) + if ($json == true) { return json_encode($stmt->fetchAll()); } @@ -281,7 +281,7 @@ public static function All(mixed $table, iterable $where=null, iterable $where_l * @return array or object */ - public function Select(mixed $table, array $rows,mixed $order_by="", mixed $order, mixed $where=null, mixed $where_like=null, int $limit=null): array | object + public function Select(mixed $table, array $rows, mixed $order, mixed $where=null, mixed $where_like=null, int $limit=null,mixed $order_by=""): array | object { if ($where == null && $where_like == null) @@ -445,8 +445,3 @@ public static function Disconnect(): void self::$Connected = false; } } - - - - -?> diff --git a/src/Schema/Schema.php b/src/Schema/Schema.php old mode 100644 new mode 100755