Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/deploy-appstarter
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ git checkout master
rm -rf *

# Copy common files
releasable='app public writable env LICENSE spark'
releasable='app public writable env LICENSE spark preload.php'
for fff in $releasable;
do
cp -Rf ${SOURCE}/$fff ./
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/deploy-framework
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ git checkout master
rm -rf *

# Copy common files
releasable='app public writable env LICENSE spark system'
releasable='app public writable env LICENSE spark system preload.php'
for fff in $releasable;
do
cp -Rf ${SOURCE}/$fff ./
Expand Down
3 changes: 2 additions & 1 deletion admin/starter/preload.php → preload.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* See https://www.php.net/manual/en/opcache.preloading.php
*
* How to Use:
* 1. Set preload::$paths.
* 0. Copy this file to your project root folder.
* 1. Set the $paths property of the preload class below.
* 2. Set opcache.preload in php.ini.
* php.ini:
* opcache.preload=/path/to/preload.php
Expand Down