Conditions | 1 |
Paths | 1 |
Total Lines | 37 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function deny() |
||
10 | { |
||
11 | echo <<< WEDOS |
||
12 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||
13 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"> |
||
14 | <head> |
||
15 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
||
16 | <meta http-equiv="Content-Language" content="cs" /> |
||
17 | <title>Webhosting je aktivní</title> |
||
18 | <meta name="robots" content="noindex,follow" /> |
||
19 | <link rel="stylesheet" type="text/css" href="http://hosting.wedos.com/css/default-pages.css" /> |
||
20 | </head> |
||
21 | <body class="web_default"> |
||
22 | |||
23 | <div id="page"> |
||
24 | |||
25 | <div id="header"> |
||
26 | <img src="http://hosting.wedos.com/images/default-pages/logo.png" alt="WEDOS Internet, a.s." /> |
||
27 | </div> |
||
28 | |||
29 | <div id="content"> |
||
30 | <img src="http://hosting.wedos.com/images/default-pages/tick.png" alt="OK" /> |
||
31 | <h1>Webhosting je aktivní</h1> |
||
32 | <p>Webhosting pro tuto doménu je aktivní. Přes FTP nahrajte potřebné soubory a poté tento soubor <b>index.html</b> smažte.</p> |
||
33 | <p>Další informace a návody hledejte ve <strong><a href="http://kb.wedos.com/">znalostní bázi WEDOS</a></strong>.</p> |
||
34 | </div> |
||
35 | |||
36 | <div id="footer"> |
||
37 | <p><strong><a href="http://hosting.wedos.com/">Hosting WEDOS</a></strong> - <a href="http://hosting.wedos.com/cs/domeny.html">registrace domén</a>, <a href="http://hosting.wedos.com/cs/webhosting.html">webhosting</a>, <a href="http://hosting.wedos.com/cs/dedikovane-servery.html">serverhosting</a></p> |
||
38 | </div> |
||
39 | |||
40 | </div> |
||
41 | </body> |
||
42 | </html> |
||
43 | WEDOS; |
||
44 | exit(); |
||
|
|||
45 | } |
||
46 | } |
||
47 |
An exit expression should only be used in rare cases. For example, if you write a short command line script.
In most cases however, using an
exit
expression makes the code untestable and often causes incompatibilities with other libraries. Thus, unless you are absolutely sure it is required here, we recommend to refactor your code to avoid its usage.