<?php

// this contains the application parameters that can be maintained via GUI
return array(
    // this is displayed in the header section
    'title' => 'My Yii Blog',
    // this is used in error pages
    'adminEmail' => 'webmaster@example.com',
    // number of posts displayed per page
    'postsPerPage' => 10,
    // maximum number of comments that can be displayed in recent comments portlet
    'recentCommentCount' => 10,
    // maximum number of tags that can be displayed in tag cloud portlet
    'tagCloudCount' => 20,
    // whether post comments need to be approved before published
    'commentNeedApproval' => true,
    // the copyright information displayed in the footer section
    'copyrightInfo' => 'Copyright &copy; 2009 by My Company.',
    'upload_directory' => 'upload',
    'template_directory' => 'templates',
    'sample_page_directory' => 'sample_pages',
    'template_thumbnail_directory' => 'template_thumbnails',
    'htmltoimage_directory' => 'wkhtmltopdf/wkhtmltoimage.exe',
    'skin_directory' => 'images/skins',
    'skin_thumbnail_ext' => 'png',
    'website_directory' => 'websites',
    'install_script_directory' => 'install_script',
    'update_website_directory' => 'updates',
    'temporary_directory' => 'temporary',
    'sqllite_directory' => '/storage/db/database.sqlite',
    'file_icon_directory' => 'images/fileicon',
    'piwikUrl' => 'http://localhost/piwik/index.php',
    'piwikParams' => 'module=API&format=JSON&token_auth=aec127ef61b1c5739bf2266ece398fef',
    'piwikTokenAuth' => 'aec127ef61b1c5739bf2266ece398fef',
    'hybridauth' => array(
            'baseUrl' => '/index.php/site',
            'providers' => array(
                'OpenID' => array(
                    'enabled' => true,
                ),

                'Yahoo' => array(
                    'enabled' => true,
                ),

                'Google' => array(
                    'enabled' => true,
                    'keys' => array('id' => '', 'secret' => ''),
                    'scope' => '',
                ),

                'Facebook' => array(
                    'enabled' => true,
                    'keys' => array('id' => '132068893636989', 'secret' => '3e55520348f3d30536cdfdca00b2a93a'),

                    // A comma-separated list of permissions you want to request from the user. See the Facebook docs for a full list of available permissions: http://developers.facebook.com/docs/reference/api/permissions.
                    'scope' => 'email',

                    // The display context to show the authentication page. Options are: page, popup, iframe, touch and wap. Read the Facebook docs for more details: http://developers.facebook.com/docs/reference/dialogs#display. Default: page
                    'display' => '',
                ),

                'Twitter' => array(
                    'enabled' => true,
                    'keys' => array('key' => '', 'secret' => ''),
                ),
            ),
        ),
    'packages' => require(dirname(__FILE__).'/packages.php'),
    'price' => array(
        'prices' => array(

            'basic' => array(
                'name' => 'LBL_PRICE_BASIC_TITLE',
                'description' => 'LBL_PRICE_BASIC_DESCRIPTION',
                'monthly_price' => '4.45',
                'yearly_price' => '4',
                'yearly_price_year' => '4',
                'monthly_price_value' => '4.45',
                'yearly_price_value' => '4',
                'unit' => 'USD',
                'unit_prefix' => '',
                'unit_postfix' => '$',
                'ecommerce' => true,
                'products' => 10,
                'blog' => true,
                'gallery' => true,
                'ads' => true,
                'hosting' => '2GB',
                'storage' => '1GB',
                'domain' => true,
                'mobile' => true,
                'analytic' => true,
            ),
            'medium' => array(
                'best_plan' => true,
                'name' => 'LBL_PRICE_MEDIUM_TITLE',
                'description' => 'LBL_PRICE_MEDIUM_DESCRIPTION',
                'monthly_price' => '9.95',
                'yearly_price' => '9.45',
                'yearly_price_year' => '9.45',
                'monthly_price_value' => '9.95',
                'yearly_price_value' => '9.45',
                'unit' => 'USD',
                'unit_prefix' => '',
                'unit_postfix' => '$',
                'ecommerce' => true,
                'products' => 'Unlimited',
                'blog' => true,
                'gallery' => true,
                'ads' => true,
                'hosting' => '5GB',
                'storage' => '3GB',
                'domain' => true,
                'mobile' => true,
                'analytic' => true,
            ),
            'advance' => array(
                'name' => 'LBL_PRICE_ADVANCE_TITLE',
                'description' => 'LBL_PRICE_ADVANCE_DESCRIPTION',

                'monthly_price' => '16.95',
                'yearly_price' => '16',
                'yearly_price_year' => '16',
                'monthly_price_value' => '16.95',
                'yearly_price_value' => '16',
                'unit' => 'USD',
                'unit_prefix' => '',
                'unit_postfix' => '$',
                'ecommerce' => true,
                'products' => 'Unlimited',
                'blog' => true,
                'gallery' => true,
                'ads' => true,
                'hosting' => '10GB',
                'storage' => '5GB',
                'domain' => true,
                'mobile' => true,
                'analytic' => true,
            ),
        ),
        'indexes' => array(
            array('bool','ecommerce', 'LBL_PRICE_ECOMMERCE_TITLE'),
            array('string', 'products', 'LBL_PRICE_PRODUCT_COUNT_TITLE'),
            array('bool','blog', 'LBL_PRICE_BLOG_TITLE'),
            array('bool','gallery', 'LBL_PRICE_GALLERY_TITLE'),
            array('bool', 'ads', 'LBL_PRICE_ADS_TITLE'),
            array('string', 'hosting', 'LBL_PRICE_HOSTING_TITLE'),
            array('string', 'storage', 'LBL_PRICE_STORAGE_TITLE'),
            array('bool', 'domain', 'LBL_PRICE_DOMAIN_TITLE'),
            array('bool', 'mobile', 'LBL_PRICE_MOBILE_TITLE'),
            array('bool', 'analytic', 'LBL_PRICE_ANALYTICS_TITLE'),
        ),
    ),
);
