Here and later: if permissions are not specified - system default permissions (defined by UMASK) would be enough and there is no need to change them
NOTE: This section describes default setup. It may be changed during the installation according to customer's request.
backs and stamps directories are not mandatory, you can put their contents elsewhere, these directories are not defined in global configuration file magics.cfg
All files marked by asterisk are required for Platinum performance and cannot be removed or renamed.
Also sample images, midis, backgrounds, stamps in appropriate directories.
File permissions - chmod 666. This file should be in $SCRIPT_DIR. You cannot rename this file or move it outside $SCRIPT_DIR, otherwise your software will not work!
Be careful when editing this file, make sure you don't have extra-spaces anywhere. If you are editing this file offline and uploading with FTP be sure to use ASCII transfer mode.
Below is a sample of magics.cfg.
CARDS_URL|/home/yourdomain/htdocs/platinum/cards/ OLD_CARDS_URL|/home/yourdomain/htdocs/platinum/old_cards/ INC_DIR|/home/yourdomain/htdocs/platinum/includes/ POEMS_DIR|/home/yourdomain/htdocs/platinum/poems/ QUEUE_DIR|/home/yourdomain/htdocs/platinum/queue/ STATS_DIR|/home/yourdomain/htdocs/platinum/stats/ SAVE_DIR|/home/yourdomain/htdocs/platinum/save/ SAVE_URL|http://yourdomain.com/platinum/save/ IMG_URL|http://yourdomain.com/platinum/images/ MIDI_URL|http://yourdomain.com/platinum/music/ SEND_MAIL|/usr/lib/sendmail -t MODE|ASAP DAYS|30 STORED|14
Other settings are described above in directories and permissions
Custom configuration files are used to specify the different set of HTML and e-mail templates. Such files are to be placed in $INC_DIR/conf, should have *.txt extension and permissions chmod 666.
Be careful when editing these files, make sure you don't have extra-spaces anywhere. When uploading with FTP be sure to use ASCII transfer mode.
By default magics.txt configuration file is used. Below are the contents of magic.txt from sample cardshop with minimal number of settings.
PRE_PAGE|preview.html REC_PAGE|receive.html SEN_PAGE|sent.html CARD_MAIL|mail1.txt PICK_MAIL|mail2.txt
Another sample configuration file magic-enh.txt contains maximum number of settings.
PRE_PAGE|preview-enh.html REC_PAGE|receive-enh.html SEN_PAGE|sent-enh.html CARD_MAIL|mail1.txt PICK_MAIL|mail2.txt MULTI|multi.html SAVE|save.html PRINT|print.html FWD|forward.html FWD_MAIL|fwdmail1.txt
What each setting means and how to use them is explained in "customization" section.
This section describes only changes from previous versions, not the new features added. New features are documented in other sections of this guide.