Hi, i put my validate files in ...resources\source\include\validate but wehen i install the new phprunner build the files are not carried over to the validate folder of the new build. Is there a way to put them in a folder that doesn't get deleted with every new build? thanks Fabio
When using PHPRunner, custom files that you place in the resources\source\include\validate directory can indeed be overwritten or lost during an update to a new build. To prevent this from happening, you can follow these guidelines:
Use the Custom Folder: Instead of placing your validation files directly in the validate folder, consider creating a separate custom folder within your project directory. For example, you could create a folder named custom_validations. You can then include these files in your project as needed.
Include Custom Files in Your Project: You can include your custom validation files manually in your project by using the appropriate PHP include or require statements in your main files where you need them.
Backup Your Files: Before updating PHPRunner to a new build, always make a backup of your custom files and folders. This way, you can easily restore them after the update.
Check for PHPRunner Settings: Sometimes, PHPRunner might have specific settings or features for handling custom files. Make sure to check the documentation or the settings in the application for any options that allow you to manage custom files more effectively.
Documentation and Support: Always refer to the PHPRunner documentation or contact their support if you have specific questions about file management during updates.
By following these steps, you can ensure that your custom validation files are preserved across updates.