<commit_before><?php

// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
  'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
  'name'=>'Meta Data Games', // no need to change as this is just the default the app is using a value retrieved from fbvStorage

  // preloading 'log' component
  'preload'=>array('log', 'fbvStorage'),

  // autoloading model and component classes
  'import'=>array(
    'application.models.*',
    'application.components.*',
    'ext.giix-components.*',
    'ext.components.*',
    'ext.yii-flash.*',
    'application.helpers.*',
    'application.modules.games.*',
    'application.modules.plugins.*',
    'application.modules.plugins.components.*',
    'ext.yii-mail.YiiMailMessage',
  ),

  'modules'=>array(
    'admin',
    'user',
    'plugins',
    'api',
    'games',
  ),

  // application components
  'components'=>array(
    'user'=>array(
      'allowAutoLogin'=>true,
      'loginUrl' => array('/user/login'),
    ),
    'authManager'=>array(
      'class'=>'CDbAuthManager',
    ),

    'urlManager'=>array(
      'urlFormat'=>'path',
      'rules'=>array(
        'user/login/restore-password' => 'user/recovery/recovery',
        'user/login/restore-password/<activekey:.+>/<email:.+>' => 'user/recovery/recovery/<activekey>/<email>',
        '<controller:\w+>/<id:\d+>'=>'<controller>/view',
        '<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
        '<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
      ),
    ),
    
    'db'=>array(
      'connectionString' => 'mysql:host=%%host%%;dbname=%%database%%',
      'emulatePrepare' => true,
      'username' => '%%user%%',
      'password' => '<PASSWORD>%%',
      'tablePrefix'=>'%%tablePrefix%%',
      'charset' => 'utf8',
    ),
    
    'errorHandler'=>array(
      'errorAction'=>'site/error',
    ),
    
    'log'=>array(
      'class'=>'CLogRouter',
      'routes'=>array(
        array(
          'class'=>'CFileLogRoute',
          'levels'=>'error',
        ),
      ),
    ),
    
    'fbvStorage'=>array(
      'class'=>'application.components.FBVStorage'
    ),
    
    'xUploadWidget' => array(
      'class' => 'ext.xupload.XUploadWidget',
    ),
    
    'clientScript' => array(
      'class' => 'ext.components.NLSClientScript',
    ),
    
    'image'=>array(
      'class'=>'ext.image.CImageComponent',
      'driver'=>'GD',
    ),
    
    'mail' => array(
      'class' => 'ext.yii-mail.YiiMail',
      'transportType' => 'php',
      'viewPath' => 'application.views.mail',
      'logging' => true,
      'dryRun' => false
    ),
    'zip'=>array(
      'class'=>'application.extensions.zip.EZip', 
    ),
  ),
  
  // application-level parameters that can be accessed
  // using Yii::app()->params['paramName']
  'params'=>array(),
);<commit_msg>added app params in main.php to main.install.php so it will also be present after an install<commit_after><?php

// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
  'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
  'name'=>'Meta Data Games', // no need to change as this is just the default the app is using a value retrieved from fbvStorage

  // preloading 'log' component
  'preload'=>array('log', 'fbvStorage'),

  // autoloading model and component classes
  'import'=>array(
    'application.models.*',
    'application.components.*',
    'ext.giix-components.*',
    'ext.components.*',
    'ext.yii-flash.*',
    'application.helpers.*',
    'application.modules.games.*',
    'application.modules.plugins.*',
    'application.modules.plugins.components.*',
    'ext.yii-mail.YiiMailMessage',
  ),

  'modules'=>array(
    'admin',
    'user',
    'plugins',
    'api',
    'games',
  ),

  // application components
  'components'=>array(
    'user'=>array(
      'allowAutoLogin'=>true,
      'loginUrl' => array('/user/login'),
    ),
    'authManager'=>array(
      'class'=>'CDbAuthManager',
    ),

    'urlManager'=>array(
      'urlFormat'=>'path',
      'rules'=>array(
        'user/login/restore-password' => 'user/recovery/recovery',
        'user/login/restore-password/<activekey:.+>/<email:.+>' => 'user/recovery/recovery/<activekey>/<email>',
        '<controller:\w+>/<id:\d+>'=>'<controller>/view',
        '<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
        '<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
      ),
    ),
    
    'db'=>array(
      'connectionString' => 'mysql:host=%%host%%;dbname=%%database%%',
      'emulatePrepare' => true,
      'username' => '%%user%%',
      'password' => '<PASSWORD>%%',
      'tablePrefix'=>'%%tablePrefix%%',
      'charset' => 'utf8',
    ),
    
    'errorHandler'=>array(
      'errorAction'=>'site/error',
    ),
    
    'log'=>array(
      'class'=>'CLogRouter',
      'routes'=>array(
        array(
          'class'=>'CFileLogRoute',
          'levels'=>'error',
        ),
      ),
    ),
    
    'fbvStorage'=>array(
      'class'=>'application.components.FBVStorage'
    ),
    
    'xUploadWidget' => array(
      'class' => 'ext.xupload.XUploadWidget',
    ),
    
    'clientScript' => array(
      'class' => 'ext.components.NLSClientScript',
    ),
    
    'image'=>array(
      'class'=>'ext.image.CImageComponent',
      'driver'=>'GD',
    ),
    
    'mail' => array(
      'class' => 'ext.yii-mail.YiiMail',
      'transportType' => 'php',
      'viewPath' => 'application.views.mail',
      'logging' => true,
      'dryRun' => false
    ),
    'zip'=>array(
      'class'=>'application.extensions.zip.EZip', 
    ),
  ),
  
  // application-level parameters that can be accessed
  // using Yii::app()->params['paramName']
  'params'=>array(
    'version' => "0.1",
    'tags_csv_format' => "1.0",
    'embedded_metadata_format' => "1.0",
  ),
);
{'fraction_non_alphanumeric': 0.20635435240719727, 'fraction_numerical': 0.00129680661371373, 'mean_word_length': 2.8418430884184307, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 144, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '234351', 'n_tokens_mistral': 1997, 'n_tokens_neox': 2010, 'n_words': 325}