Location: PHPKode > projects > Esvon Personals > esvon-personals/upgrades/v3_to_v4/upgrade315-316.php
<?php

// File to upgrade Esvon Classifieds from 3.0.795 to 3.0.796
// After use this, you can delete it

//*********************************************

define('DB_UPGRADE', 1);

if(!defined('SITE_PATH')){
  if(!file_exists('./inc/application.php')) die("File Not Found: application.php");
  require_once './inc/application.php';
}
 
mysql_query("ALTER TABLE ".TBL_AD." CHANGE approved approved tinyint(3) DEFAULT '1' NOT NULL");

$O_HW->Update( array('EN_FSETS' => '1') );

echo 'Esvon Classifieds Tables Updated, Ok.. ('.basename(__FILE__).')';


?>
Return current item: Esvon Personals