Помогите найти ошибку
Parse error: syntax error, unexpected T_STRING in /var/www/theserv1/data/www/мой сайт/includes/external/swift-mai ler/preferences.php on line 15
PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?PHP
- /****************************************************************************/
- /* */
- /* YOU MAY WISH TO MODIFY OR REMOVE THE FOLLOWING LINES WHICH SET DEFAULTS */
- /* */
- /****************************************************************************/
- // Sets the default charset so that setCharset() is not needed elsewhere
- Swift_Preferences::getInstance()->setCharset('utf-8);
- // Without these lines the default caching mechanism is "array" but this uses
- // a lot of memory.
- // If possible, use a disk cache to enable attaching large attachments etc
- {
- Swift_Preferences::getInstance()
- -> setTempDir(sys_get_temp_dir())
- -> setCacheType('disk');
- }
- Swift_Preferences::getInstance()->setQPDotEscape(false);