librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1788] this is a really weird one -- variables with a


From: Matt Lee
Subject: [Librefm-commits] [1788] this is a really weird one -- variables with a - in their name act differently ?
Date: Sun, 24 May 2009 16:25:43 +0000

Revision: 1788
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1788
Author:   mattl
Date:     2009-05-24 16:25:43 +0000 (Sun, 24 May 2009)
Log Message:
-----------
this is a really weird one -- variables with a - in their name act differently?

Modified Paths:
--------------
    trunk/gnukebox/index.php

Modified: trunk/gnukebox/index.php
===================================================================
--- trunk/gnukebox/index.php    2009-05-24 16:22:19 UTC (rev 1787)
+++ trunk/gnukebox/index.php    2009-05-24 16:25:43 UTC (rev 1788)
@@ -24,7 +24,7 @@
 
 // Display things?
 
-$display-things == 1;
+$displaythings = True;
 
 if (!isset($config_version) || $config_version != $version) {
        die("Configuration file is out of date. Please delete it (and 
associated database) and <a href='install.php'>reinstall</a>."); //TODO: 
Upgrade script for release versions
@@ -39,7 +39,7 @@
 } else {
        //If we're not handshaking then just display some nice stats
 
-       if ($display-things) {
+       if ($displaythings) {
 
        require_once('display.php');
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]