Skip to content

Commit 7b950bd

Browse files
authored
Merge pull request #6936 from kenjis/fix-move-preload.php
chore: move preload.php
2 parents 197e996 + 592ac3d commit 7b950bd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/scripts/deploy-appstarter

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ git checkout master
2020
rm -rf *
2121

2222
# Copy common files
23-
releasable='app public writable env LICENSE spark'
23+
releasable='app public writable env LICENSE spark preload.php'
2424
for fff in $releasable;
2525
do
2626
cp -Rf ${SOURCE}/$fff ./

.github/scripts/deploy-framework

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ git checkout master
2020
rm -rf *
2121

2222
# Copy common files
23-
releasable='app public writable env LICENSE spark system'
23+
releasable='app public writable env LICENSE spark system preload.php'
2424
for fff in $releasable;
2525
do
2626
cp -Rf ${SOURCE}/$fff ./

admin/starter/preload.php renamed to preload.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
* See https://www.php.net/manual/en/opcache.preloading.php
1717
*
1818
* How to Use:
19-
* 1. Set preload::$paths.
19+
* 0. Copy this file to your project root folder.
20+
* 1. Set the $paths property of the preload class below.
2021
* 2. Set opcache.preload in php.ini.
2122
* php.ini:
2223
* opcache.preload=/path/to/preload.php

0 commit comments

Comments
 (0)