create-prisma-php-app 1.25.506 → 1.25.508
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
CHANGED
|
@@ -688,7 +688,7 @@ try {
|
|
|
688
688
|
|
|
689
689
|
$_requestFilePath = APP_PATH . Request::$pathname;
|
|
690
690
|
if (is_file($_requestFilePath)) {
|
|
691
|
-
if (file_exists($_requestFilePath) &&
|
|
691
|
+
if (file_exists($_requestFilePath) && Request::$isXFileRequest) {
|
|
692
692
|
// Check if the file is a PHP file
|
|
693
693
|
if (pathinfo($_requestFilePath, PATHINFO_EXTENSION) === 'php') {
|
|
694
694
|
// Include the PHP file without setting the JSON header
|
|
@@ -14,7 +14,6 @@ MainLayout::$description = !empty(MainLayout::$description) ? MainLayout::$descr
|
|
|
14
14
|
<meta charset="UTF-8">
|
|
15
15
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
16
16
|
<?= MainLayout::outputMetadata(); ?>
|
|
17
|
-
<?= MainLayout::outputHeadScripts(); ?>
|
|
18
17
|
</head>
|
|
19
18
|
|
|
20
19
|
<body>
|