Closed (fixed)
Project:
radix
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
27 Jan 2017 at 20:45 UTC
Updated:
13 Feb 2017 at 10:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bneil commentedComment #3
bneil commentedHere is a patch that uses the
scandir()function to search the specified kit for includes and add them to the $files_to_replace array.In my testing and on the php.net scandir() documentation page, the
scandir()function also returns array items of '.' and '..' which are not desirable. To remove those, I usedarray_diff()instead ofarray_slice()in case other operating systems do not include those items.Comment #4
shadcn commentedYeah this looks good. Testing...
Comment #5
shadcn commentedComment #6
adam-delaney commentedI've tested this creating my own starter kit and using {{machine_name}} pattern and it works great.
Comment #7
shadcn commentedLooks good. Will commit.
Comment #9
shadcn commentedCommitted. Thanks @bneil. Thanks @adam-delaney.