get rid of more variables with dashes in the names - use underscore *except* in CSS. These were probably already here, but if you see any - please keep them out of PHP and MySQL where they sometimes get interpreted as a subtraction operation and are a bugger to find.

This commit is contained in:
friendica
2013-08-15 22:52:19 -07:00
parent fc0a9c78a9
commit a8dd7280b3
9 changed files with 25 additions and 25 deletions

View File

@@ -30,10 +30,10 @@ function home_content(&$a) {
if(x($_SESSION,'theme'))
unset($_SESSION['theme']);
if(x($_SESSION,'mobile-theme'))
unset($_SESSION['mobile-theme']);
if(x($_SESSION,'mobile_theme'))
unset($_SESSION['mobile_theme']);
$channel_address = get_config("system", "site-channel" );
$channel_address = get_config("system", "site_channel" );
if ($channel_address){
require_once('include/items.php');