PHP Classes

File: WIInstall/installer/stubs/config.stub

Recommend this page to a friend!
  Classes of Jules Warner   WICMS   WIInstall/installer/stubs/config.stub   Download  
File: WIInstall/installer/stubs/config.stub
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WICMS
Database driven content management system with PDO
Author: By
Last change:
Date: 7 years ago
Size: 2,526 bytes
 

Contents

Class file image Download
<?php //Timezone date_default_timezone_set('UTC'); //WEBSITE define('WEBSITE_NAME', '{{website_name}}'); define('WEBSITE_DOMAIN', '{{website_domain}}'); // It can be the same as domain (if script is placed on website's root folder) // or it can contain path that include subfolders, if script is located in //some subfolder and not in root folder. define('SCRIPT_URL', '{{script_url}}'); //DATABASE CONFIGURATION define('DB_HOST', '{{db_host}}'); define('DB_TYPE', 'mysql'); define('DB_USER', '{{db_user}}'); define('DB_PASS', '{{db_pass}}'); define('DB_NAME', '{{db_name}}'); //SESSION CONFIGURATION define('SESSION_SECURE', false); define('SESSION_HTTP_ONLY', true); define('SESSION_USE_ONLY_COOKIES', true); //LOGIN CONFIGURATION define('LOGIN_MAX_LOGIN_ATTEMPTS', 20); define('LOGIN_FINGERPRINT', true); define('SUCCESS_LOGIN_REDIRECT', serialize(array('default' => "index.php"))); //PASSWORD CONFIGURATION define('PASSWORD_ENCRYPTION', "{{password_encryption}}"); //available values: "sha512", "bcrypt" define('PASSWORD_BCRYPT_COST', "13"); define('PASSWORD_SHA512_ITERATIONS', 25000); define('PASSWORD_SALT', "{{password_salt}}"); //22 characters to be appended on first 7 characters that will be generated using PASSWORD_ info above define('PASSWORD_RESET_KEY_LIFE', 60); // REGISTRATION CONFIGURATION define('MAIL_CONFIRMATION_REQUIRED', true); define('REGISTER_CONFIRM', "{{script_url}}confirm.php"); define('REGISTER_PASSWORD_RESET', "{{script_url}}passwordreset.php"); // EMAIL SENDING CONFIGURATION // Available MAILER options are 'mail' for php mail() and 'smtp' for using SMTP server for sending emails define('MAILER', "mail"); define('SMTP_HOST', ""); define('SMTP_PORT', 25); define('SMTP_USERNAME', ""); define('SMTP_PASSWORD', ""); define('SMTP_ENCRYPTION', ""); define('MAIL_FROM_NAME', "{{website_name}}"); define('MAIL_FROM_EMAIL', "{{noreply_email}}"); // SOCIAL LOGIN CONFIGURATION define('SOCIAL_CALLBACK_URI', "{{script_url}}vendor/hybridauth/"); // GOOGLE define('GOOGLE_ENABLED', false); define('GOOGLE_ID', ""); define('GOOGLE_SECRET', ""); // FACEBOOK define('FACEBOOK_ENABLED', false); define('FACEBOOK_ID', ""); define('FACEBOOK_SECRET', ""); // TWITTER // NOTE: Twitter api for authentication doesn't provide users email address! // So, if you email address is strictly required for all users, consider disabling twitter login option. define('TWITTER_ENABLED', false); define('TWITTER_KEY', ""); define('TWITTER_SECRET', ""); // TRANSLATION define('DEFAULT_LANGUAGE', 'en');