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.
@@ -871,16 +871,19 @@ try {
871
871
  createUpdateRequestData();
872
872
  }
873
873
 
874
- $_requestFilesJson = SETTINGS_PATH . '/request-data.json';
875
- $_requestFilesData = file_exists($_requestFilesJson) ? json_decode(file_get_contents($_requestFilesJson), true) : [];
876
- if ($_requestFilesData[$_requestUriForFilesIncludes]) {
877
- $_requestDataToLoop = $_requestFilesData[$_requestUriForFilesIncludes];
878
-
879
- foreach ($_requestDataToLoop['includedFiles'] as $file) {
880
- if (file_exists($file)) {
881
- ob_start();
882
- require_once $file;
883
- $childContent .= ob_get_clean();
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
 
@@ -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 py-12 sm:py-24 md:py-32 lg:py-48">
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">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.24.0",
3
+ "version": "1.24.2",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",