Changeset 738 for trunk/Modules/SpeedTest/SpeedTest.php
- Timestamp:
- Apr 14, 2015, 10:20:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/SpeedTest/SpeedTest.php
r615 r738 24 24 $this->Dependencies = array(); 25 25 } 26 26 27 27 function DoStart() 28 28 { 29 29 $this->System->Pages['speedtest'] = 'PageSpeedTest'; 30 } 30 } 31 31 } 32 32 … … 36 36 var $ShortTitle = 'Test rychlosti'; 37 37 var $ParentClass = 'PagePortal'; 38 38 39 39 function Show() 40 40 { … … 46 46 } else return($this->ShowMain()); 47 47 } 48 48 49 49 function ShowDownload() 50 50 { 51 51 global $config; 52 52 require_once(dirname(__FILE__)."/download.php"); 53 53 54 54 } 55 55 56 56 function ShowMain() 57 { 57 { 58 58 global $config; 59 59 60 60 require_once(dirname(__FILE__)."/common.php"); 61 61 ReadConfig(dirname(__FILE__)."/speedtest.cfg"); 62 62 63 63 ## Redirect immediately to download.php if auto_start = 1 64 64 if($config->{'general'}->{'auto_start'}) { … … 70 70 <head> 71 71 <title>'.$config->{'general'}->{'page_title'}.' - Fancy Speed Test</title> 72 <meta http-equiv="Expires" CONTENT="Fri, Jan 1 1980 00:00:00 GMT" /> 73 <meta http-equiv="Pragma" CONTENT="no-cache" /> 74 <meta http-equiv="Cache-Control" CONTENT="no-cache" /> 72 <meta http-equiv="Expires" CONTENT="Fri, Jan 1 1980 00:00:00 GMT" /> 73 <meta http-equiv="Pragma" CONTENT="no-cache" /> 74 <meta http-equiv="Cache-Control" CONTENT="no-cache" /> 75 75 <link rel="stylesheet" href="style.css" /> 76 76 </head> … … 89 89 ## Include "welcome.html" for a custom welcome page, if the file exists 90 90 include("welcome.html"); 91 } else { 91 } else { 92 92 ## Else print a standard welcome message 93 93
Note:
See TracChangeset
for help on using the changeset viewer.