Location: PHPKode > projects > IntraMessenger > install/create_tables.php
<?php
/*******************************************************
 **                  IntraMessenger - server          **
 **                                                   **
 **  Copyright:      (C) 2006 - 2010 THeUDS           **
 **  Web:            http://www.theuds.com            **
 **                  http://www.intramessenger.net    **
 **  Licence :       GPL (GNU Public License)         **
 **  http://opensource.org/licenses/gpl-license.php   **
 *******************************************************/

/*******************************************************
 **       This file is part of IntraMessenger-server  **
 **                                                   **
 **  IntraMessenger is a free software.               **
 **  IntraMessenger is distributed in the hope that   **
 **  it will be useful, but WITHOUT ANY WARRANTY.     **
 *******************************************************/
//
if (isset($_GET['lang'])) $lang = $_GET['lang']; else $lang = "";
if (isset($_GET['action'])) $action = $_GET['action']; else $action = "";
//
define('INTRAMESSENGER',true);
require ("../common/sql.inc.php");
//
require ("../common/create_tables.inc.php");
//
mysql_close($id_connect);
//
if ($action == "noredirect")
{
  echo "Tables added.";
}
else
{
  //header("location:install.php?lang=" . $lang . "&");
  echo "<META http-equiv='refresh' content='1;url=install.php?lang=" . $lang . "&'>";
}
?>
Return current item: IntraMessenger