Finished 2.1-BETA3 upgrade

This commit is contained in:
Polonkai Gergely
2012-07-16 23:22:57 +02:00
parent 9d0d2ce524
commit 8d4c9bc5bc
4 changed files with 35 additions and 25 deletions

View File

@@ -83,6 +83,10 @@ build: 56
color: #AA3333;
background: #f9ecec;
}
.sf-exceptionreset #logs .traces li.warning {
font-style: normal;
background: #ffcc00;
}
/* fix for Opera not liking empty <li> */
.sf-exceptionreset .traces li:after {
content: "\00A0";

View File

@@ -309,6 +309,11 @@ ul.alt li.error {
margin-bottom: 1px;
}
ul.alt li.warning {
background-color: #ffcc00;
margin-bottom: 1px;
}
td.main, td.menu {
text-align: left;
margin: 0;

View File

@@ -1,12 +1,13 @@
<?php
require 'dev-ips.php';
if (!isset($_SERVER['HTTP_HOST'])) {
exit('This script cannot be run from the CLI. Run it from a browser.');
}
if (!in_array(@$_SERVER['REMOTE_ADDR'], $dev_ips)) {
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
))) {
header('HTTP/1.0 403 Forbidden');
exit('This script is only accessible from localhost.');
}