A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB

12 years ago
  1. <?php
  2. /**
  3. * This file is a part of Quasi CMS
  4. *@package Quasi
  5. */
  6. require_once('../../includes/prepend.inc.php');
  7. require_once('../classes/ImportOsCommerce.class.php');
  8. /**
  9. * This utility imports an OsCommerce database into Quasi ..
  10. *
  11. * Note: currently you must set the values for the OsCommerce database to import.
  12. *@todo - allow setting the database configs ..
  13. *
  14. *@author Erik Winn <erikwinnmail@yahoo.com>
  15. *
  16. * $Id: import_oscommerce.php 98 2008-08-29 21:38:39Z erikwinn $
  17. *@version 0.1
  18. *
  19. *@copyright (C) 2008 by Erik Winn
  20. *@license GPL v.2
  21. This program is free software; you can redistribute it and/or modify
  22. it under the terms of the GNU General Public License as published by
  23. the Free Software Foundation; either version 2 of the License, or
  24. (at your option) any later version.
  25. This program is distributed in the hope that it will be useful,
  26. but WITHOUT ANY WARRANTY; without even the implied warranty of
  27. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  28. GNU General Public License for more details.
  29. You should have received a copy of the GNU General Public License
  30. along with this program; if not, write to the Free Software
  31. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
  32. *
  33. *@package Quasi
  34. */
  35. define(DB_SERVER,'your_osc_database_server');
  36. define(DB_DATABASE,'your_osc_database_name');
  37. define(DB_SERVER_USERNAME,'your_osc_username');
  38. define(DB_SERVER_PASSWORD,'your_oce_password');
  39. $objImporter = new ImportOsCommerce();
  40. $objImporter->Run();
  41. ?>