Application Configuration

Smart PHP Calendar uses config.php file for core application configuration. Please read the comments carefully when you configure your application.
//config.php

//------------------------------------------------------------------------------
// Default timezone
//------------------------------------------------------------------------------

// when superuser or admin create user this will be user's default timezone
// users can change it in their calendar settings
define('SPC_DEFAULT_TIMEZONE', 'Europe/Istanbul');

//------------------------------------------------------------------------------
// Calendar Sharing
//------------------------------------------------------------------------------

//show input box or usernames dropdown menu in calendar sharing dialog

// none: text input box, you have to type username
// group: usernames dropdown menu that shows all usernames in a group
// all: usernames dropdown menu that shows all usernames

define('CAL_SHARE_SHOW_USERNAME', 'none');

//------------------------------------------------------------------------------
// Calendar Import/Export
//------------------------------------------------------------------------------

// ical default event privacy
// private: all imported events will be private
// public: all imported events will be public
define('ICAL_IMPORT_EVENT_PRIVACY', 'private');

//------------------------------------------------------------------------------
// Email and Popup Reminders
//------------------------------------------------------------------------------

// reminder count for each event
define('EVENT_REMINDER_COUNT', 10);

// use phpmailer for sending email notifications
// if false native PHP mail() function will be used
define('USE_PHP_MAILER', true);

define('EMAIL_REMINDER_FROM', 'reminder@smartphpcalendar.com');
define('EMAIL_REMINDER_SUBJECT', 'Smart PHP Calendar - Reminder');

// PHP Mailer Configurations
// default configured for Gmail
define('PHP_MAILER_PROTOCOL', 'smtp');
define('PHP_MAILER_HOST', 'ssl://smtp.gmail.com');
define('PHP_MAILER_PORT', 465);
define('PHP_MAILER_USERNAME', 'your-gmail-account-username');
define('PHP_MAILER_PASSWORD', 'your-gmail-account-password');