5.2. Source Settings
The following shows the Source tab of the Project Settings dialog:
The Project source folder field contains the path of a folder containing files to be encoded. The contents of this folder and its subfolders is displayed in the Project files tree.
When encoding a project, the Encoder will perform one of three operations on each file; encoding PHP and HTML source, encrypting non-PHP contents, or just copying. Files and folders can also be excluded from being processed. Unless excluded, each processed file will be written within the target folder specified on the Target tab. Files are encoded based on the source language chosen.
How each file will be processed is first determined by configurable default rules. In addition, files and folders can be given custom settings, for example to copy a particular PHP file instead of encoding it. To change the defaults, simply right click on one or more files or folders and select an item from the popup context menu. For convenience, the buttons above the source tree can also be used to encode, encrypt, copy, exclude or re-include items back into the project.
The default rules for encoding and encrypting are based on the extensions in the PHP encoding extensions and Non-PHP encryption extensions list boxes. The Excluded item patterns list box specifies names or patterns of files or folders to exclude.
Encrypted files are processed using a strong symmetric block cipher, and it may be desirable to encrypt files such as templates in this way. The Loader API can be used to read and write files encrypted by the Encoder, and this is described further in the Encoder PDF sections on encrypted files and the Loader API.
File context menu:
Some menu items may be disabled based on the particular settings of each file.
Directory context menu:
Copyright 2002-2017 ionCube Ltd. All rights reserved.