Jump to content

constants.php format

Featured Replies

Posted

Hello, my constants.php format generating by invisionpower to upload to server is:

 

<?php

\define( 'BULK_MAILS_PER_CYCLE', 25 );
\define( 'CP_DIRECTORY', 'newadmin' );
\define( 'READ_WRITE_SEPARATION',      false      );

\define( 'REDIS_ENABLED', true );
\define( 'STORE_METHOD', 'Redis' );
\define( 'STORE_CONFIG', '[]' );
\define( 'CACHE_METHOD', 'Redis' );
\define( 'REDIS_CONFIG', '{"server":"127.0.0.1","port":6379,"password":""}' );
\define( 'CACHE_PAGE_TIMEOUT', 0 );
\define( 'SUITE_UNIQUE_KEY', '4586e752b0' );

Is correct with this backslash before "define" term?

 

  • Author

Thak you @Daniel F. I had doubts because in your guides you don't use the backslashs to define values.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.