/config.sample.php
PHP | 78 lines | 9 code | 15 blank | 54 comment | 0 complexity | 820745808df7355dfc8214894ee86c01 MD5 | raw file
- <?php
- $showslow_root = '/path/to/showslow/root/';
- $showslow_base = 'http://www.example.com/showslow/'; # don't forget the trailing slash
- $baseAssetURL = $showslow_base; # that's base URL for the static assets (images, CSS, JS)
- # Database connection information
- $db = 'showslow';
- $user = 'showslow';
- $pass = '... database-password ...';
- $host = 'localhost';
- $sessionSecret = '...................................................';
- # Custom metrics supported
- #$metrics['bouncerate'] = array(
- # 'id' => 1,
- # 'title' => 'Bounce Rate (in %)',
- # 'color' => 'purple',
- # 'description' => 'Bounce rate measured by Google Analytics',
- # 'min' => 0,
- # 'max' => 100
- #);
- # URL groups to be displayed on URLs measured tab
- #$URLGroups['showslow'] = array(
- # 'title' => "ShowSlow.com pages",
- # 'urls' => array(
- # 'http://www.showslow.com/'
- # )
- #);
- # Enabling HAR beacon will allow storing HAR data for URLs and display graphically using HAR viewer
- #$enableHARBeacon = true;
- # HAR Viewer base URL
- #$HARViewerBase = '/harviewer/';
- # change it if you want to allow other profiles including your custom profiles
- #$YSlow2AllowedProfiles = array('ydefault');
- # If not false, then should be an array of prefix matches or PCRE regular expressions
- # if one of them matches, URL will be accepted
- # for more information, check http://www.php.net/manual/en/book.pcre.php
- #$limitURLs = array( 'http://www.yahoo.com/', 'http://www.google.com/', '|mysite.com|i' );
- # If set to true, drop all query strings. If array, then match prefixes.
- #$dropQueryStrings = true;
- #$dropQueryStrings = array( 'http://www.yahoo.com/', 'http://www.google.com/' );
- # URL of timeplot installation
- #$TimePlotBase = '/timeplot/';
- # to see if your users are visiting the tool, enable Google Analytics
- # (for publicly hosted instances)
- #$googleAnalyticsProfile = '';
- # KissMetrics key
- #$kissMetricsKey = '';
- # show Feedback button
- #$showFeedbackButton = true;
- # how old should data be for deletion (in days)
- # anything >0 will delete old data
- # don't forget to add a cron job to run deleteolddata.php
- #$oldDataInterval = 60;
- # Put description for ShowSlow instance into this variable - it'll be displayed on home page under the header.
- /*
- $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>
- <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>
- <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>
- <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>
- ';
- */