Advertisement
andreymal

tabun config: app.conf.php

Nov 3rd, 2018
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.76 KB | None | 0 0
  1. <?php
  2.  
  3. $config['path']['root']['web'] = 'http://localhost';
  4.  
  5. $config['db']['params']['host'] = '127.0.0.1';
  6. $config['db']['params']['port'] = '3306';
  7. $config['db']['params']['user'] = 'tabun';
  8. $config['db']['params']['pass'] = 'celestia';
  9. $config['db']['params']['type']   = 'mysql';
  10. $config['db']['params']['dbname'] = 'tabun';
  11. $config['db']['tables']['engine'] = 'InnoDB';
  12. $config['db']['table']['prefix'] = 'ls_';
  13.  
  14. $config['path']['uploads']['storage'] = '/path/to/tabun/storage';
  15. $config['path']['uploads']['url'] = '/storage';
  16. $config['path']['static']['url'] = '/static';
  17. $config['path']['smarty']['compiled'] = '/path/to/tabun/tmp/smarty/compiled';
  18. $config['path']['smarty']['cache'] = '/path/to/tabun/tmp/smarty/cache';
  19.  
  20. $config['sys']['elastic']['hosts'] = ["127.0.0.1:9200"];
  21.  
  22. $config['sys']['celery']['host'] = '127.0.0.1';
  23. $config['sys']['celery']['port'] = 6379;
  24. $config['sys']['celery']['db'] = 1;
  25.  
  26. $config['sys']['cache']['servers'] = [
  27.     [
  28.         'host' => '127.0.0.1',
  29.         'port' => 6379,
  30.         'dbindex' => 4,
  31.     ],
  32. ];
  33.  
  34. $config['sys']['mail']['from_email'] = 'noreply@example.com';
  35. $config['sys']['mail']['from_name'] = 'Пони-почтовик';
  36.  
  37. $config['sys']['logs']['dir'] = '/path/to/tabun/log';
  38.  
  39. $config['misc']['debug'] = true;
  40.  
  41. $config['misc']['services']['twicher'] = 'http://127.0.0.1:5000/quotes/twitchy';
  42. $config['misc']['services']['donations'] = 'https://everypony.ru/donate_api/';
  43. $config['misc']['services']['banners'] = 'https://projects.everypony.ru/posters/';
  44.  
  45. // Тестовые ключи ReCaptcha, не для продакшена
  46. $config['recaptcha']['key'] = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';
  47. $config['recaptcha']['secret'] = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';
  48.  
  49. return $config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement