2009/10/09 04:26:13 +0100 claunia: System should be called from version not from app family
This commit is contained in:
@@ -14,7 +14,7 @@ require_once(BASE."include/tableve.php");
|
|||||||
require_once(BASE."include/db_filter_ui.php");
|
require_once(BASE."include/db_filter_ui.php");
|
||||||
|
|
||||||
// Added by Natalia Portillo for QEMU support.
|
// Added by Natalia Portillo for QEMU support.
|
||||||
require_once(BASE."include/qemusystem.php");
|
//require_once(BASE."include/qemusystem.php");
|
||||||
|
|
||||||
define("PLATINUM_RATING", "Platinum");
|
define("PLATINUM_RATING", "Platinum");
|
||||||
define("GOLD_RATING", "Gold");
|
define("GOLD_RATING", "Gold");
|
||||||
|
|||||||
@@ -44,10 +44,11 @@ class qemuSystem {
|
|||||||
/*
|
/*
|
||||||
* We fetch applicationsIds.
|
* We fetch applicationsIds.
|
||||||
*/
|
*/
|
||||||
|
// Should get appname?
|
||||||
$sQuery = "SELECT qsysId
|
$sQuery = "SELECT qsysId
|
||||||
FROM appFamily
|
FROM appVersion
|
||||||
WHERE qsysId = '?'
|
WHERE qsysId = '?'
|
||||||
AND state = 'accepted' ORDER BY appName";
|
AND state = 'accepted' ORDER BY appId";
|
||||||
if($hResult = query_parameters($sQuery, $iSysId))
|
if($hResult = query_parameters($sQuery, $iSysId))
|
||||||
{
|
{
|
||||||
while($oRow = query_fetch_object($hResult))
|
while($oRow = query_fetch_object($hResult))
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ require_once(BASE."include/downloadurl.php");
|
|||||||
require_once(BASE."include/monitor.php");
|
require_once(BASE."include/monitor.php");
|
||||||
require_once(BASE."include/vote.php");
|
require_once(BASE."include/vote.php");
|
||||||
|
|
||||||
|
require_once(BASE."include/qemusystem.php");
|
||||||
|
|
||||||
define("LICENSE_OPENSOURCE", "Open Source");
|
define("LICENSE_OPENSOURCE", "Open Source");
|
||||||
define("LICENSE_SHAREWARE", "Shareware");
|
define("LICENSE_SHAREWARE", "Shareware");
|
||||||
define("LICENSE_DEMO", "Demo");
|
define("LICENSE_DEMO", "Demo");
|
||||||
|
|||||||
Reference in New Issue
Block a user