PageRenderTime 1ms CodeModel.GetById 56ms app.highlight 19ms RepoModel.GetById 95ms app.codeStats 1ms

/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
 6# Database connection information
 7$db = 'showslow';
 8$user = 'showslow';
 9$pass = '... database-password ...';
10$host = 'localhost';
11
12$sessionSecret = '...................................................';
13
14# Custom metrics supported
15#$metrics['bouncerate'] = array(
16#	'id' => 1,
17#	'title' => 'Bounce Rate (in %)',
18#	'color' => 'purple',
19#	'description' => 'Bounce rate measured by Google Analytics',
20#	'min' => 0,
21#	'max' => 100
22#);
23
24# URL groups to be displayed on URLs measured tab 
25#$URLGroups['showslow'] = array(
26#	'title' => "ShowSlow.com pages",
27#	'urls' => array(
28#		'http://www.showslow.com/'
29#	)
30#);
31
32# Enabling HAR beacon will allow storing HAR data for URLs and display graphically using HAR viewer
33#$enableHARBeacon = true;
34
35# HAR Viewer base URL
36#$HARViewerBase = '/harviewer/';
37
38# change it if you want to allow other profiles including your custom profiles
39#$YSlow2AllowedProfiles = array('ydefault');
40
41# If not false, then should be an array of prefix matches or PCRE regular expressions
42# if one of them matches, URL will be accepted
43# for more information, check http://www.php.net/manual/en/book.pcre.php
44#$limitURLs = array( 'http://www.yahoo.com/', 'http://www.google.com/', '|mysite.com|i' );
45
46# If set to true, drop all query strings. If array, then match prefixes.
47#$dropQueryStrings = true;
48#$dropQueryStrings = array( 'http://www.yahoo.com/', 'http://www.google.com/' );
49
50# URL of timeplot installation
51#$TimePlotBase = '/timeplot/';
52
53# to see if your users are visiting the tool, enable Google Analytics
54# (for publicly hosted instances)
55#$googleAnalyticsProfile = '';
56
57# KissMetrics key
58#$kissMetricsKey = '';
59
60# show Feedback button
61#$showFeedbackButton = true;
62
63# how old should data be for deletion (in days)
64# anything >0 will delete old data
65# don't forget to add a cron job to run deleteolddata.php
66#$oldDataInterval = 60;
67
68# Put description for ShowSlow instance into this variable - it'll be displayed on home page under the header.
69/*
70$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>
71
72<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>
73
74<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>
75
76<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>
77';
78*/