Skip to content

Commit

Permalink
Merge pull request #6936 from kenjis/fix-move-preload.php
Browse files Browse the repository at this point in the history
chore: move preload.php
  • Loading branch information
samsonasik authored Dec 4, 2022
2 parents 197e996 + 592ac3d commit 7b950bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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

0 comments on commit 7b950bd

Please sign in to comment.