create-prisma-php-app 1.24.0 → 1.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap.php +13 -15
- package/dist/src/app/index.php +1 -1
- package/package.json +1 -1
package/dist/bootstrap.php
CHANGED
|
@@ -871,16 +871,19 @@ try {
|
|
|
871
871
|
createUpdateRequestData();
|
|
872
872
|
}
|
|
873
873
|
|
|
874
|
-
$
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
874
|
+
if ($isWire && !$secondRequestC69CD) {
|
|
875
|
+
$_requestFilesJson = SETTINGS_PATH . '/request-data.json';
|
|
876
|
+
$_requestFilesData = file_exists($_requestFilesJson) ? json_decode(file_get_contents($_requestFilesJson), true) : [];
|
|
877
|
+
|
|
878
|
+
if ($_requestFilesData[$_requestUriForFilesIncludes]) {
|
|
879
|
+
$_requestDataToLoop = $_requestFilesData[$_requestUriForFilesIncludes];
|
|
880
|
+
|
|
881
|
+
foreach ($_requestDataToLoop['includedFiles'] as $file) {
|
|
882
|
+
if (file_exists($file)) {
|
|
883
|
+
ob_start();
|
|
884
|
+
require_once $file;
|
|
885
|
+
$childContent .= ob_get_clean();
|
|
886
|
+
}
|
|
884
887
|
}
|
|
885
888
|
}
|
|
886
889
|
}
|
|
@@ -888,11 +891,6 @@ try {
|
|
|
888
891
|
$content .= $childContent;
|
|
889
892
|
$content .= getLoadingsFiles();
|
|
890
893
|
|
|
891
|
-
if ($secondRequestC69CD) {
|
|
892
|
-
echo $content;
|
|
893
|
-
return;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
894
|
ob_start();
|
|
897
895
|
require_once APP_PATH . '/layout.php';
|
|
898
896
|
|
package/dist/src/app/index.php
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</nav>
|
|
21
21
|
</header>
|
|
22
22
|
<main class="flex-1 flex justify-center items-center">
|
|
23
|
-
<section id="hero" class="w-full
|
|
23
|
+
<section id="hero" class="w-full">
|
|
24
24
|
<div class="px-4 md:px-6">
|
|
25
25
|
<div class="flex flex-col items-center space-y-4 text-center">
|
|
26
26
|
<h1 class="text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl lg:text-6xl/none flex items-center gap-3 justify-center">
|