PageRenderTime 11ms CodeModel.GetById 6ms RepoModel.GetById 0ms app.codeStats 0ms

/config.sample.php

http://showslow.googlecode.com/
PHP | 78 lines | 9 code | 15 blank | 54 comment | 0 complexity | 820745808df7355dfc8214894ee86c01 MD5 | raw file
  1. <?php
  2. $showslow_root = '/path/to/showslow/root/';
  3. $showslow_base = 'http://www.example.com/showslow/'; # don't forget the trailing slash
  4. $baseAssetURL = $showslow_base; # that's base URL for the static assets (images, CSS, JS)
  5. # Database connection information
  6. $db = 'showslow';
  7. $user = 'showslow';
  8. $pass = '... database-password ...';
  9. $host = 'localhost';
  10. $sessionSecret = '...................................................';
  11. # Custom metrics supported
  12. #$metrics['bouncerate'] = array(
  13. # 'id' => 1,
  14. # 'title' => 'Bounce Rate (in %)',
  15. # 'color' => 'purple',
  16. # 'description' => 'Bounce rate measured by Google Analytics',
  17. # 'min' => 0,
  18. # 'max' => 100
  19. #);
  20. # URL groups to be displayed on URLs measured tab
  21. #$URLGroups['showslow'] = array(
  22. # 'title' => "ShowSlow.com pages",
  23. # 'urls' => array(
  24. # 'http://www.showslow.com/'
  25. # )
  26. #);
  27. # Enabling HAR beacon will allow storing HAR data for URLs and display graphically using HAR viewer
  28. #$enableHARBeacon = true;
  29. # HAR Viewer base URL
  30. #$HARViewerBase = '/harviewer/';
  31. # change it if you want to allow other profiles including your custom profiles
  32. #$YSlow2AllowedProfiles = array('ydefault');
  33. # If not false, then should be an array of prefix matches or PCRE regular expressions
  34. # if one of them matches, URL will be accepted
  35. # for more information, check http://www.php.net/manual/en/book.pcre.php
  36. #$limitURLs = array( 'http://www.yahoo.com/', 'http://www.google.com/', '|mysite.com|i' );
  37. # If set to true, drop all query strings. If array, then match prefixes.
  38. #$dropQueryStrings = true;
  39. #$dropQueryStrings = array( 'http://www.yahoo.com/', 'http://www.google.com/' );
  40. # URL of timeplot installation
  41. #$TimePlotBase = '/timeplot/';
  42. # to see if your users are visiting the tool, enable Google Analytics
  43. # (for publicly hosted instances)
  44. #$googleAnalyticsProfile = '';
  45. # KissMetrics key
  46. #$kissMetricsKey = '';
  47. # show Feedback button
  48. #$showFeedbackButton = true;
  49. # how old should data be for deletion (in days)
  50. # anything >0 will delete old data
  51. # don't forget to add a cron job to run deleteolddata.php
  52. #$oldDataInterval = 60;
  53. # Put description for ShowSlow instance into this variable - it'll be displayed on home page under the header.
  54. /*
  55. $ShowSlowIntro = '<p>Show Slow is an open source tool that helps monitor various website performance metrics over time. It captures the results of <a href="http://developer.yahoo.com/yslow/">YSlow</a> and <a href="http://code.google.com/speed/page-speed/">Page Speed</a> rankings and graphs them, to help you understand how various changes to your site affect its performance.</p>
  56. <p><a href="http://www.showslow.com/">www.ShowSlow.com</a> is a demonstration site that continuously measures the performance of a few reference web pages. It also allows for public metrics reporting.</p>
  57. <p>If you want to make your measurements publicly available on this page, see the instructions in <a href="configure.php">Configuring YSlow / Page Speed</a>. If you want to keep your measurements private, <b><a href="http://code.google.com/p/showslow/source/checkout">download Show Slow</a></b> from the SVN repository and install it on your own server.</p>
  58. <p>You can ask questions and discuss ShowSlow in our group <a href="http://groups.google.com/group/showslow">http://groups.google.com/group/showslow</a> or just leave feedback at <a href="http://showslow.uservoice.com">http://showslow.uservoice.com</a></p>
  59. ';
  60. */