Browse Source

settings system realised

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@45 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
akulikov 16 years ago
parent
commit
aab8d8fac5
  1. 5
      classes/Env.class.php

5
classes/Env.class.php

@ -78,11 +78,12 @@ final class Env
*/
static public function getBidCost($dis = 0)
{
$cost = Load::model('Settings')->get('bid_base_price');
if ($dis > 0 && $dis <= 100) {
return AUC_BID_COST - intval($dis);
return $cost - intval($dis);
}
return AUC_BID_COST;
return $cost;
}
}
?>
Loading…
Cancel
Save