diff --git a/my-account.php b/my-account.php
deleted file mode 100644
index f02551870..000000000
--- a/my-account.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/my-account'.$params);
-
diff --git a/new-products.php b/new-products.php
deleted file mode 100644
index 1736dbbea..000000000
--- a/new-products.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/new-products'.$params);
-
diff --git a/order-confirmation.php b/order-confirmation.php
deleted file mode 100644
index 213231451..000000000
--- a/order-confirmation.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/order-confirmation'.$params);
-
diff --git a/order-detail.php b/order-detail.php
deleted file mode 100644
index 4f401758b..000000000
--- a/order-detail.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/order-detail'.$params);
-
diff --git a/order-follow.php b/order-follow.php
deleted file mode 100644
index 3c1768fc4..000000000
--- a/order-follow.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/order-follow'.$params);
-
diff --git a/order-opc.php b/order-opc.php
deleted file mode 100755
index 267b865c5..000000000
--- a/order-opc.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/order-opc'.$params);
-
diff --git a/order-return.php b/order-return.php
deleted file mode 100644
index 46b12abd5..000000000
--- a/order-return.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/order-return'.$params);
-
diff --git a/order-slip.php b/order-slip.php
deleted file mode 100644
index d81c70e79..000000000
--- a/order-slip.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/order-slip'.$params);
-
diff --git a/order.php b/order.php
deleted file mode 100644
index aeb11c09f..000000000
--- a/order.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/order'.$params);
-
diff --git a/override/classes/_FrontController.php b/override/classes/_FrontController.php
deleted file mode 100755
index c5e63dadc..000000000
--- a/override/classes/_FrontController.php
+++ /dev/null
@@ -1,342 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-
-function developpementErrorHandler($errno, $errstr, $errfile, $errline)
-{
- if (!(error_reporting() & $errno))
- return;
- switch($errno)
- {
- case E_ERROR:
- echo '[PHP Error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_WARNING:
- echo '[PHP Warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_PARSE:
- echo '[PHP Parse #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_NOTICE:
- echo '[PHP Notice #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_CORE_ERROR:
- echo '[PHP Core #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_CORE_WARNING:
- echo '[PHP Core warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_COMPILE_ERROR:
- echo '[PHP Compile #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_COMPILE_WARNING:
- echo '[PHP Compile warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_USER_ERROR:
- echo '[PHP Error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_USER_WARNING:
- echo '[PHP User warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_USER_NOTICE:
- echo '[PHP User notice #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_STRICT:
- echo '[PHP Strict #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- case E_RECOVERABLE_ERROR:
- echo '[PHP Recoverable error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- break;
- default:
- echo '[PHP Unknown error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')';
- }
- die;
- return true;
-}
-
-
-class FrontController extends FrontControllerCore
-{
- public $_memory = array();
- public $_time = array();
-
- private function displayMemoryColor($n)
- {
- $n /= 1048576;
- if ($n > 3)
- return ''.round($n, 2).' Mb';
- if ($n > 1)
- return ''.round($n, 2).' Mb';
- return ''.round($n, 2).' Mb';
- }
-
- private function displaySQLQueries($n)
- {
- if ($n > 150)
- return ''.$n.' queries';
- if ($n > 100)
- return ''.$n.' queries';
- return ''.$n.' quer'.($n == 1 ? 'y' : 'ies').'';
- }
-
- private function displayLoadTimeColor($n, $kikoo = false)
- {
- if ($n > 1)
- return ''.round($n, 3).'s'.($kikoo ? '
You\'d better run your shop on a toaster' : '');
- if ($n > 0.5)
- return ''.round($n * 1000).'ms'.($kikoo ? '
I hope it is a shared hosting' : '');
- return ''.round($n * 1000).'ms'.($kikoo ? '
Good boy! That\'s what I call a webserver!' : '');
- }
-
- private function getTimeColor($n)
- {
- if ($n > 4)
- return 'style="color:red"';
- if ($n > 2)
- return 'style="color:orange"';
- return 'style="color:green"';
- }
-
- private function getQueryColor($n)
- {
- if ($n > 5)
- return 'style="color:red"';
- if ($n > 2)
- return 'style="color:orange"';
- return 'style="color:green"';
- }
-
- private function getTableColor($n)
- {
- if ($n > 30)
- return 'style="color:red"';
- if ($n > 20)
- return 'style="color:orange"';
- return 'style="color:green"';
- }
-
- public function __construct()
- {
- // error management
- set_error_handler('developpementErrorHandler');
- ini_set('html_errors', 'on');
- ini_set('display_errors', 'on');
- error_reporting(E_ALL | E_STRICT);
-
- $this->_memory = array_fill(0, 10, 0);
- $this->_time = array_fill(0, 10, 0);
-
- // Usually set in the parent constructor, but here I need it to evaluate init()
- $useSSL = $this->ssl;
-
- $this->_memory[-3] = memory_get_usage();
- $this->_time[-3] = microtime(true);
- $this->init();
- $this->_memory[-2] = memory_get_usage();
- $this->_time[-2] = microtime(true);
- parent::__construct();
- $this->_memory[-1] = memory_get_usage();
- $this->_time[-1] = microtime(true);
- }
-
- public function run()
- {
- $this->_memory[0] = memory_get_usage();
- $this->_time[0] = microtime(true);
- $this->preProcess();
- $this->_memory[1] = memory_get_usage();
- $this->_time[1] = microtime(true);
- $this->setMedia();
- $this->_memory[2] = memory_get_usage();
- $this->_time[2] = microtime(true);
- $this->displayHeader();
- $this->_memory[3] = memory_get_usage();
- $this->_time[3] = microtime(true);
- $this->process();
- $this->_memory[4] = memory_get_usage();
- $this->_time[4] = microtime(true);
- $this->displayContent();
- $this->_memory[5] = memory_get_usage();
- $this->_time[5] = microtime(true);
- $this->displayFooter();
- }
-
- function ini_get_display_errors()
- {
- $a = 'display_errors';
- $b = ini_get($a);
- switch (strtolower($b))
- {
- case 'on':
- case 'yes':
- case 'true':
- return 'assert.active' !== $a;
- case 'stdout':
- case 'stderr':
- return 'display_errors' === $a;
- default:
- return (bool)(int)$b;
- }
- }
-
- private function sizeofvar($var)
- {
- $start_memory = memory_get_usage();
- $tmp = unserialize(serialize($var));
- $size = memory_get_usage() - $start_memory;
- return $size;
- }
-
- public function displayFooter()
- {
- global $start_time;
- parent::displayFooter();
- if (!$this->ini_get_display_errors())
- return;
-
- $this->_memory[6] = memory_get_usage();
- $this->_time[6] = microtime(true);
-
- $hr = '
';
-
- $totalSize = 0;
- foreach (get_included_files() as $file)
- $totalSize += filesize($file);
-
- $totalQueryTime = 0;
- foreach (Db::getInstance()->queriesTime as $time)
- $totalQueryTime += $time;
-
- $hooktime = Module::getHookTime();
- arsort($hooktime);
- $totalHookTime = 0;
- foreach ($hooktime as $time)
- $totalHookTime += $time;
-
- $globalSize = array();
- $totalGlobalSize = 0;
- foreach ($GLOBALS as $key => $value)
- if ($key != 'GLOBALS')
- {
- $totalGlobalSize += ($size = $this->sizeofvar($value));
- if ($size > 1024)
- $globalSize[$key] = round($size / 1024, 1);
- }
- arsort($globalSize);
-
- echo '
-
-
Load time: '.$this->displayLoadTimeColor($this->_time[6] - $start_time, true).'
-
- - Config: '.$this->displayLoadTimeColor($this->_time[-3] - $start_time).'
- - Init: '.$this->displayLoadTimeColor(($this->_time[-2] - $this->_time[-3])).'
- - Constructor: '.$this->displayLoadTimeColor(($this->_time[-1] - $this->_time[-2])).'
- - preProcess: '.$this->displayLoadTimeColor(($this->_time[1] - $this->_time[0])).'
- - setMedia: '.$this->displayLoadTimeColor(($this->_time[2] - $this->_time[1])).'
- - displayHeader: '.$this->displayLoadTimeColor(($this->_time[3] - $this->_time[2])).'
- - process: '.$this->displayLoadTimeColor(($this->_time[4] - $this->_time[3])).'
- - displayContent: '.$this->displayLoadTimeColor(($this->_time[5] - $this->_time[4])).'
- - displayFooter: '.$this->displayLoadTimeColor(($this->_time[6] - $this->_time[5])).'
-
-
-
-
Hook processing: '.$this->displayLoadTimeColor($totalHookTime).'
-
';
- foreach ($hooktime as $hook => $time)
- echo '- '.$hook.': '.$this->displayLoadTimeColor($time).'
';
- echo '
-
-
-
Memory peak usage: '.$this->displayMemoryColor(memory_get_peak_usage()).'
-
- - Config: '.$this->displayMemoryColor($this->_memory[-3]).'
- - Init: '.$this->displayMemoryColor(($this->_memory[-2] - $this->_memory[-3])).'
- - Constructor: '.$this->displayMemoryColor(($this->_memory[-1] - $this->_memory[-2])).'
- - preProcess: '.$this->displayMemoryColor(($this->_memory[1] - $this->_memory[0])).'
- - setMedia: '.$this->displayMemoryColor(($this->_memory[2] - $this->_memory[1])).'
- - displayHeader: '.$this->displayMemoryColor(($this->_memory[3] - $this->_memory[2])).'
- - process: '.$this->displayMemoryColor(($this->_memory[4] - $this->_memory[3])).'
- - displayContent: '.$this->displayMemoryColor(($this->_memory[5] - $this->_memory[4])).'
- - displayFooter: '.$this->displayMemoryColor(($this->_memory[6] - $this->_memory[5])).'
-
-
';
-
- $countByTypes = '';
- foreach (Db::getInstance()->countTypes as $type => $count)
- if ($count)
- $countByTypes .= ''.$count.' x '.$type.'';
- $countByTypes = rtrim($countByTypes, ' |');
-
- echo '
-
-
SQL Queries: '.$this->displaySQLQueries(Db::getInstance()->count).'
-
-
Time spent querying: '.$this->displayLoadTimeColor($totalQueryTime).'
-
-
- Included files: '.sizeof(get_included_files()).'
- Size of included files: '.$this->displayMemoryColor($totalSize).'
-
-
-
Globals (> 1 Ko only): '.round($totalGlobalSize / 1024).' Ko
-
';
- foreach ($globalSize as $global => $size)
- echo '- '.$global.' ≈ '.$size.' Ko
';
- echo '
-
';
-
- echo '
-
-
-
';
- $queries = Db::getInstance()->queriesTime;
- arsort($queries);
- foreach ($queries as $q => $time)
- echo $hr.'
getTimeColor($time * 1000).'>'.round($time * 1000, 3).' ms '.$q;
- echo '
-
-
';
- $queries = Db::getInstance()->queries;
- arsort($queries);
- foreach ($queries as $q => $nb)
- echo $hr.'
getQueryColor($nb).'>'.$nb.' '.$q;
- echo '
-
-
';
- $tables = Db::getInstance()->tables;
- arsort($tables);
- foreach ($tables as $table => $nb)
- echo $hr.'
getTableColor($nb).'>'.$nb.' '.$table;
- echo '
';
- }
-}
diff --git a/override/classes/_Module.php b/override/classes/_Module.php
deleted file mode 100644
index 2ef07ab41..000000000
--- a/override/classes/_Module.php
+++ /dev/null
@@ -1,44 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-class Module extends ModuleCore
-{
- private static $hookTime = array();
-
- public static function getHookTime()
- {
- return self::$hookTime;
- }
-
- public static function hookExec($hook_name, $hookArgs = array(), $id_module = NULL)
- {
- $t0 = microtime(true);
- $result = parent::hookExec($hook_name, $hookArgs, $id_module);
- self::$hookTime[$hook_name] = microtime(true) - $t0;
- return $result;
- }
-}
diff --git a/override/classes/_MySQL.php b/override/classes/_MySQL.php
deleted file mode 100644
index 4dfbf5507..000000000
--- a/override/classes/_MySQL.php
+++ /dev/null
@@ -1,209 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-class MySQL extends MySQLCore
-{
- public $count = 0;
- public $queries = array();
- public $queriesTime = array();
- public $tables = array();
- public $countTypes = array('getRow' => 0, 'getValue' => 0, 'Execute' => 0, 'ExecuteS' => 0, 'delete' => 0, 'q' => 0);
-
- private function disableCache($query)
- {
- return preg_replace('/^select /', 'SELECT SQL_NO_CACHE', trim($query));
- }
-
- public function getRow($query, $use_cache = 1)
- {
- $this->count++;
- $this->countTypes['getRow']++;
- $query2 = preg_replace('/[0-9]+/', 'XX', $query);
- if (!isset($this->queries[$query2]))
- $this->queries[$query2] = 0;
- $this->queries[$query2]++;
- preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
- foreach ($matches[2] as $table)
- {
- if (!isset($this->tables[$table]))
- $this->tables[$table] = 0;
- $this->tables[$table]++;
- }
-
- $query = $this->disableCache($query);
- $t0 = microtime(true);
-
- $return = parent::getRow($query, $use_cache);
-
- if (!isset($this->queriesTime[$query]))
- $this->queriesTime[$query] = microtime(true)-$t0;
-
- return $return;
- }
-
- public function getValue($query, $use_cache = 1)
- {
- $this->count++;
- $this->countTypes['getValue']++;
- $query2 = preg_replace('/[0-9]+/', 'XX', $query);
- if (!isset($this->queries[$query2]))
- $this->queries[$query2] = 0;
- $this->queries[$query2]++;
- preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
- foreach ($matches[2] as $table)
- {
- if (!isset($this->tables[$table]))
- $this->tables[$table] = 0;
- $this->tables[$table]++;
- }
-
- $query = $this->disableCache($query);
- $t0 = microtime(true);
-
- $return = parent::getValue($query, $use_cache);
-
- if (!isset($this->queriesTime[$query]))
- $this->queriesTime[$query] = microtime(true)-$t0;
-
- return $return;
- }
-
- public function Execute($query, $use_cache = 1)
- {
- $this->count++;
- $this->countTypes['Execute']++;
- $query2 = preg_replace('/[0-9]+/', 'XX', $query);
- if (!isset($this->queries[$query2]))
- $this->queries[$query2] = 0;
- $this->queries[$query2]++;
- preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
- foreach ($matches[2] as $table)
- {
- if (!isset($this->tables[$table]))
- $this->tables[$table] = 0;
- $this->tables[$table]++;
- }
-
- $query = $this->disableCache($query);
- $t0 = microtime(true);
-
- $return = parent::Execute($query, $use_cache);
-
- if (!isset($this->queriesTime[$query]))
- $this->queriesTime[$query] = microtime(true)-$t0;
-
- return $return;
- }
-
- public function ExecuteS($query, $array = true, $use_cache = 1)
- {
- $this->count++;
- $this->countTypes['ExecuteS']++;
- $query2 = preg_replace('/[0-9]+/', 'XX', $query);
- if (!isset($this->queries[$query2]))
- $this->queries[$query2] = 0;
- $this->queries[$query2]++;
- preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
- foreach ($matches[2] as $table)
- {
- if (!isset($this->tables[$table]))
- $this->tables[$table] = 0;
- $this->tables[$table]++;
- }
-
- $query = $this->disableCache($query);
- $t0 = microtime(true);
-
- $return = parent::ExecuteS($query, $array, $use_cache);
-
- if (!isset($this->queriesTime[$query]))
- $this->queriesTime[$query] = microtime(true)-$t0;
-
- return $return;
- }
-
- public function delete($table, $where = false, $limit = false, $use_cache = 1)
- {
- $this->_result = false;
- if ($this->_link)
- {
- $query = 'DELETE FROM `'.pSQL($table).'`'.($where ? ' WHERE '.$where : '').($limit ? ' LIMIT '.(int)($limit) : '');
-
- $this->count++;
- $this->countTypes['delete']++;
- $query2 = preg_replace('/[0-9]+/', 'XX', $query);
- if (!isset($this->queries[$query2]))
- $this->queries[$query2] = 0;
- $this->queries[$query2]++;
- preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
- foreach ($matches[2] as $table)
- {
- if (!isset($this->tables[$table]))
- $this->tables[$table] = 0;
- $this->tables[$table]++;
- }
-
- $query = $this->disableCache($query);
- $t0 = microtime(true);
-
- $return = parent::delete($table, $where, $limit, $use_cache);
-
- if (!isset($this->queriesTime[$query]))
- $this->queriesTime[$query] = microtime(true)-$t0;
-
- return $return;
- }
- return false;
- }
-
- protected function q($query, $use_cache = 1)
- {
- $this->count++;
- $this->countTypes['q']++;
- $query2 = preg_replace('/[0-9]+/', 'XX', $query);
- if (!isset($this->queries[$query2]))
- $this->queries[$query2] = 0;
- $this->queries[$query2]++;
- preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches);
- foreach ($matches[2] as $table)
- {
- if (!isset($this->tables[$table]))
- $this->tables[$table] = 0;
- $this->tables[$table]++;
- }
-
- $query = $this->disableCache($query);
- $t0 = microtime(true);
-
- $return = parent::q($query, $use_cache);
-
- if (!isset($this->queriesTime[$query]))
- $this->queriesTime[$query] = microtime(true)-$t0;
-
- return $return;
- }
-}
diff --git a/pagination.php b/pagination.php
deleted file mode 100644
index 959db90d0..000000000
--- a/pagination.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-$controller = new FrontController();
-$controller->pagination();
diff --git a/password.php b/password.php
deleted file mode 100644
index 84c2cbd2f..000000000
--- a/password.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/password'.$params);
-
diff --git a/pdf-invoice.php b/pdf-invoice.php
deleted file mode 100644
index e77c38d48..000000000
--- a/pdf-invoice.php
+++ /dev/null
@@ -1,45 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-include(dirname(__FILE__).'/config/config.inc.php');
-include(dirname(__FILE__).'/init.php');
-
-$cookie = new Cookie('ps');
-if (!$cookie->isLogged() AND !Tools::getValue('secure_key'))
- Tools::redirect('index.php/authentication?back=pdf-invoice.php');
-if (!(int)(Configuration::get('PS_INVOICE')))
- die(Tools::displayError('Invoices are disabled in this shop.'));
-if (isset($_GET['id_order']) AND Validate::isUnsignedId($_GET['id_order']))
- $order = new Order((int)($_GET['id_order']));
-if (!isset($order) OR !Validate::isLoadedObject($order))
- die(Tools::displayError('Invoice not found'));
-elseif ((isset($cookie->id_customer) AND $order->id_customer != $cookie->id_customer) OR (Tools::isSubmit('secure_key') AND $order->secure_key != Tools::getValue('secure_key')))
- die(Tools::displayError('Invoice not found'));
-elseif (!OrderState::invoiceAvailable($order->getCurrentState()) AND !$order->invoice_number)
- die(Tools::displayError('No invoice available'));
-else
- PDF::invoice($order);
diff --git a/pdf-order-return.php b/pdf-order-return.php
deleted file mode 100644
index f1dc5bbaf..000000000
--- a/pdf-order-return.php
+++ /dev/null
@@ -1,45 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-include(dirname(__FILE__).'/config/config.inc.php');
-include(dirname(__FILE__).'/init.php');
-
-$cookie = new Cookie('ps');
-if (!$cookie->isLogged())
- Tools::redirect('index.php/authentication?back=order-follow.php');
-
-if (isset($_GET['id_order_return']) AND Validate::isUnsignedId($_GET['id_order_return']))
- $orderReturn = new OrderReturn((int)($_GET['id_order_return']));
-if (!isset($orderReturn) OR !Validate::isLoadedObject($orderReturn))
- die(Tools::displayError('Order return not found'));
-elseif ($orderReturn->id_customer != $cookie->id_customer)
- die(Tools::displayError('Order return not found'));
-elseif ($orderReturn->state < 2)
- die(Tools::displayError('Order return not confirmed'));
-else
- PDF::orderReturn($orderReturn);
-
diff --git a/pdf-order-slip.php b/pdf-order-slip.php
deleted file mode 100644
index 2e9842ba6..000000000
--- a/pdf-order-slip.php
+++ /dev/null
@@ -1,47 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-include(dirname(__FILE__).'/config/config.inc.php');
-include(dirname(__FILE__).'/init.php');
-
-$cookie = new Cookie('ps');
-if (!$cookie->isLogged())
- Tools::redirect('index.php/authentication?back=order-follow.php');
-
-if (isset($_GET['id_order_slip']) AND Validate::isUnsignedId($_GET['id_order_slip']))
- $orderSlip = new OrderSlip((int)($_GET['id_order_slip']));
-if (!isset($orderSlip) OR !Validate::isLoadedObject($orderSlip))
- die(Tools::displayError('Order return not found'));
-elseif ($orderSlip->id_customer != $cookie->id_customer)
- die(Tools::displayError('Order return not found'));
-$order = new Order((int)($orderSlip->id_order));
-if (!Validate::isLoadedObject($order))
- die(Tools::displayError('Order not found'));
-$order->products = OrderSlip::getOrdersSlipProducts((int)($orderSlip->id), $order);
-$ref = NULL;
-PDF::invoice($order, 'D', false, $ref, $orderSlip);
-
diff --git a/prices-drop.php b/prices-drop.php
deleted file mode 100644
index 78170edaf..000000000
--- a/prices-drop.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/prices-drop'.$params);
-
diff --git a/product-sort.php b/product-sort.php
deleted file mode 100644
index b15c42ef0..000000000
--- a/product-sort.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/product-sort'.$params);
-
diff --git a/product.php b/product.php
deleted file mode 100644
index e14a93c33..000000000
--- a/product.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/product'.$params);
-
diff --git a/products-comparison.php b/products-comparison.php
deleted file mode 100644
index 1bbce2cb0..000000000
--- a/products-comparison.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/products-comparison'.$params);
-
diff --git a/readme_de.txt b/readme_de.txt
deleted file mode 100644
index 0ebec42c2..000000000
--- a/readme_de.txt
+++ /dev/null
@@ -1,82 +0,0 @@
-2007-2011 PrestaShop
-
-NOTICE OF LICENSE
-
-This source file is subject to the Open Software License (OSL 3.0)
-that is bundled with this package in the file LICENSE.txt.
-It is also available through the world-wide-web at this URL:
-http://opensource.org/licenses/osl-3.0.php
-If you did not receive a copy of the license and are unable to
-obtain it through the world-wide-web, please send an email
-to license@prestashop.com so we can send you a copy immediately.
-
-DISCLAIMER
-
-Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-versions in the future. If you wish to customize PrestaShop for your
-needs please refer to http://www.prestashop.com for more information.
-
-@author PrestaShop SA
-@copyright 2007-2011 PrestaShop SA
-@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-International Registered Trademark & Property of PrestaShop SA
-
-NAME: Prestashop 1.4.1.0
-VERSION: 1.4.1.0
-
-VORBEREITUNG
-===========
-
-Zur Installation von PrestaShop bentigen Sie einen Remote-Web-Server oder
-Ihren Computer (MAMP) mit Zugriff auf eine Datenbank wie MySQL.
-Sie bentigen Zugriff auf phpMyAdmin, um eine Datenbank zu erstellen und die
-Informationen in der Datenbank im Installer anzuzeigen.
-
-Wenn Sie keinen Hosting-Provider haben und Ihren Shop selbst nicht erstellen
-knnen, bieten wir einen schlsselfertigen Shop, mit dem Sie Ihren eigenen
-Online-Shop in weniger als 10 Minuten ohne jegliche technische Kenntnisse
-erstellen knnen.
-Besuchen Sie:
- http://www.prestabox.com/
-
-INSTALLATION
-============
-
-Gehen Sie einfach zu Ihrem PrestaShop Web-Verzeichnis und verwenden Sie den
-Installer :-)
-
-Falls ein PHP-Fehler auftritt, haben Sie vielleicht kein PHP5 oder mssen es
-auf Ihrem Web-Host aktivieren.
-Die Vorinstallationseinstellungen (PHP 5, htaccess) fr bestimmte
-Hosting-Dienste (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc.)
-finden Sie in unserem Forum.
-
-Spezifische englische Webhosting-Einstellungen:
- http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_servi
-ces
-
-Wenn Sie keine Lsung zum Starten des Installers finden, posten Sie bitte
-Ihr Problem in unserem Forum:
- http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
-
-Es gibt immer Lsungen fr Ihre Fragen ;-)
-
-DOKUMENTATION
-=============
-
-Fr zustzliche Benutzerhinweise (how-to), lesen Sie bitte unser Wiki:
- http://www.prestashop.com/wiki/
-
-FOREN
-======
-
-Sie knnen auerdem mit der PrestaShop Community in unseren Foren
-diskutieren, Hilfe finden und eigene Beitrge liefern unter:
- http://www.prestashop.com/forums/
-
-Danke fr Ihren Download und die Nutzung der PrestaShop E-Commerce-Open-Source-Lsung!
-
-==========================
-= The PrestaTeam' =
-= www.PrestaShop.com =
-==========================
diff --git a/readme_en.txt b/readme_en.txt
deleted file mode 100644
index 51811b09d..000000000
--- a/readme_en.txt
+++ /dev/null
@@ -1,70 +0,0 @@
-2007-2011 PrestaShop
-
-NOTICE OF LICENSE
-
-This source file is subject to the Open Software License (OSL 3.0)
-that is bundled with this package in the file LICENSE.txt.
-It is also available through the world-wide-web at this URL:
-http://opensource.org/licenses/osl-3.0.php
-If you did not receive a copy of the license and are unable to
-obtain it through the world-wide-web, please send an email
-to license@prestashop.com so we can send you a copy immediately.
-
-DISCLAIMER
-
-Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-versions in the future. If you wish to customize PrestaShop for your
-needs please refer to http://www.prestashop.com for more information.
-
-@author PrestaShop SA
-@copyright 2007-2011 PrestaShop SA
-@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-International Registered Trademark & Property of PrestaShop SA
-
-NAME: Prestashop 1.4.1.0
-VERSION: 1.4.1.0
-
-PREPARATION
-===========
-
-To install PrestaShop, you need a remote web server or on your computer (MAMP), with access to a database like MySQL.
-You'll need access to phpMyAdmin to create a database and to indicate the information in the database in the installer.
-
-If you do not host and unable to create your store, we offer a turnkey store, which lets you create your online store in less than 10 minutes without any technical knowledge.
-We invite you to visit:
- http://www.prestabox.com/
-
-INSTALLATION
-============
-
-Simply go to your PrestaShop web directory and use installer :-)
-
-If you have any PHP error, perhaps you don't have PHP5 or you need to activate it on your web host.
-Please go to our forum to find pre-installation settings (PHP 5, htaccess) for certain hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc).
-
-English webhost specifics settings :
- http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
-
-If you don't find any solution to launch installer, please post on our forum :
- http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
-
-There are always solutions for your issues ;-)
-
-DOCUMENTATION
-=============
-
-For any extra documentation (how-to), please read our wiki :
- http://www.prestashop.com/wiki/
-
-FORUMS
-======
-
-You can also discute, help and contribute with PrestaShop community on our forums :
- http://www.prestashop.com/forums/
-
-Thanks for downloading and using PrestaShop e-commerce open-source solution !
-
-==========================
-= The PrestaTeam' =
-= www.PrestaShop.com =
-==========================
diff --git a/readme_es.txt b/readme_es.txt
deleted file mode 100644
index 3df70e258..000000000
--- a/readme_es.txt
+++ /dev/null
@@ -1,70 +0,0 @@
-2007-2011 PrestaShop
-
-NOTICE OF LICENSE
-
-This source file is subject to the Open Software License (OSL 3.0)
-that is bundled with this package in the file LICENSE.txt.
-It is also available through the world-wide-web at this URL:
-http://opensource.org/licenses/osl-3.0.php
-If you did not receive a copy of the license and are unable to
-obtain it through the world-wide-web, please send an email
-to license@prestashop.com so we can send you a copy immediately.
-
-DISCLAIMER
-
-Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-versions in the future. If you wish to customize PrestaShop for your
-needs please refer to http://www.prestashop.com for more information.
-
-@author PrestaShop SA
-@copyright 2007-2011 PrestaShop SA
-@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-International Registered Trademark & Property of PrestaShop SA
-
-NAME: Prestashop 1.4.1.0
-VERSION: 1.4.1.0
-
-PREPARACI�N
-===========
-
-Para instalar PrestaShop, necesita un servidor web remoto o en su ordenador (MAMP), con acceso a una base de datos como MySQL.
-Tendr� acceso a phpMyAdmin para crear una base de datos y para indicar la informaci�n en la base de datos en el instalador.
-
-Si no de acogida y no puede crear su tienda, le ofrecemos una tienda "llave en mano, que le permite crear su tienda en l�nea en menos de 10 minutos sin ning�n conocimiento t�cnico.
-Le invitamos a visitar:
- http://www.prestabox.com/
-
-INSTALACI�N
-============
-
-Simplemente vaya a su directorio web y el uso PrestaShop instalador :-)
-
-Si usted tiene cualquier error de PHP, tal vez usted no tiene PHP5 o necesitas activarlo en su web host.
-Por favor, vaya a nuestro foro para encontrar la configuraci�n de la instalaci�n pre-(PHP 5, htaccess) para determinados servicios de hospedaje (1 & 1, gratis, Lycos, OVH, Infomaniak, Am�n, GoDaddy, etc.)
-
-Ingl�s webhost ajustes espec�ficos:
- http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
-
-Si usted no encuentra ninguna soluci�n para lanzar el instalador, por favor enviar en nuestro foro:
- http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
-
-Siempre hay soluciones para sus problemas ;-)
-
-DOCUMENTACI�N
-=============
-
-Para cualquier documentaci�n adicional (procedimientos), por favor lea nuestra wiki:
- http://www.prestashop.com/wiki/
-
-FOROS
-======
-
-Usted puede tambi�n discute, ayudar y contribuir con la comunidad PrestaShop en nuestros foros:
- http://www.prestashop.com/forums/
-
-Gracias por descargar y utilizar el comercio electr�nico PrestaShop soluci�n de c�digo abierto!
-
-==========================
-= The PrestaTeam' =
-= www.PrestaShop.com =
-==========================
diff --git a/readme_fr.txt b/readme_fr.txt
deleted file mode 100644
index 074968894..000000000
--- a/readme_fr.txt
+++ /dev/null
@@ -1,70 +0,0 @@
-2007-2011 PrestaShop
-
-NOTICE OF LICENSE
-
-This source file is subject to the Open Software License (OSL 3.0)
-that is bundled with this package in the file LICENSE.txt.
-It is also available through the world-wide-web at this URL:
-http://opensource.org/licenses/osl-3.0.php
-If you did not receive a copy of the license and are unable to
-obtain it through the world-wide-web, please send an email
-to license@prestashop.com so we can send you a copy immediately.
-
-DISCLAIMER
-
-Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-versions in the future. If you wish to customize PrestaShop for your
-needs please refer to http://www.prestashop.com for more information.
-
-@author PrestaShop SA
-@copyright 2007-2011 PrestaShop SA
-@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-International Registered Trademark & Property of PrestaShop SA
-
-NAME: Prestashop 1.4.1.0
-VERSION: 1.4.1.0
-
-PREPARATION
-===========
-
-Pour installer PrestaShop, vous avez besoin d'un serveur web distant ou sur votre ordinateur (MAMP), avec un acc�s � une base de donn�es de type MySQL.
-Vous aurez besoin d'un acc�s � PhpMyAdmin afin de cr�er un base de donn�es, et d'indiquer les informations de la base de donn�es dans l'installeur.
-
-Si vous n'avez pas d'h�bergeur et pas la possibilit� de cr�er votre boutique, nous vous proposons un service de boutique cl� en main, qui vous permet de cr�er votre boutique en ligne en moins de 10 minutes sans aucunes notions techniques.
-Nous vous invitons � vous rendre sur:
- http://www.prestabox.com/
-
-INSTALLATION
-============
-
-Il suffit d'aller dans votre r�pertoire web PrestaShop et de lancer l'installateur (dans /install) :-)
-
-Si vous avez des erreurs de PHP, peut-�tre que vous n'avez pas PHP5 ou peut �tre devez vous l'activer via votre h�bergeur.
-Merci de vous rendre sur notre forum pour trouver les param�tres de pr�-installation (PHP 5, htaccess) pour certains services d'h�bergement (1 & 1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc.)
-
-Topic fran�ais sur notre forum officiel :
- http://www.prestashop.com/forums/viewthread/446/installation_configuration_et_mise_a_jour/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
-
-Si vous ne trouvez pas de solution pour lancer l'installateur, merci de vous rendre � cette adresse:
- http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
-
-Il ya toujours des solutions pour vos questions ;-)
-
-DOCUMENTATION
-=============
-
-Pour toute documentation suppl�mentaire (how-to), vous trouverez notre wiki � cette adresse:
- http://www.prestashop.com/wiki/
-
-FORUMS
-======
-
-Vous pouvez �galement discuter, aider et contribuer avec la communaut� PrestaShop sur nos forums:
- http://www.prestashop.com/forums/
-
-Merci d'avoir t�l�charger et d'utiliser PrestaShop, solution e-commerce open-source !
-
-==========================
-= The PrestaTeam' =
-= www.PrestaShop.com =
-==========================
diff --git a/readme_it.txt b/readme_it.txt
deleted file mode 100644
index bd1c1f1b5..000000000
--- a/readme_it.txt
+++ /dev/null
@@ -1,70 +0,0 @@
-2007-2011 PrestaShop
-
-NOTICE OF LICENSE
-
-This source file is subject to the Open Software License (OSL 3.0)
-that is bundled with this package in the file LICENSE.txt.
-It is also available through the world-wide-web at this URL:
-http://opensource.org/licenses/osl-3.0.php
-If you did not receive a copy of the license and are unable to
-obtain it through the world-wide-web, please send an email
-to license@prestashop.com so we can send you a copy immediately.
-
-DISCLAIMER
-
-Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-versions in the future. If you wish to customize PrestaShop for your
-needs please refer to http://www.prestashop.com for more information.
-
-@author PrestaShop SA
-@copyright 2007-2011 PrestaShop SA
-@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-International Registered Trademark & Property of PrestaShop SA
-
-NAME: Prestashop 1.4.1.0
-VERSION: 1.4.1.0
-
-PREPARAZIONE
-===========
-
-Per installare PrestaShop, hai bisogno di un server remoto o nel tuo computer (MAMP), con accesso ad un database come MySQL.
-Dovrai accedere a phpMyAdmin per creare un database e per indicare le informazioni nel database all'installatore.
-
-Sei non hai un host e non sai come creare il tuo negozio, ti offriamo un negozio gi pronto che ti far realizzare il tuo negozio online in meno di 10 minuti senza nessun bisogno di competenze tecniche.
-Ti invitiamo a visitare:
- http://www.prestabox.com/
-
-INSTALLAZIONE
-============
-
-Devi solo andare nella tua directory PrestaShop e usare l'installatore :-)
-
-Se si verifica un qualsiasi errore PHP, forse non hai PHP5 oppure devi attivarlo nel tuo web host.
-Vai nel nostro forum e cerca le impostazioni di pre-installazione (PHP 5, htaccess) per alcuni hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc).
-
-Impostazioni specifiche per web host in inglese:
- http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services
-
-Se non trovi nessuna soluzione per lanciare l'installatore, scrivi un post sul nostro forum:
- http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade
-
-Troverai sempre una soluzione ai tuoi problemi :-)
-
-INFORMAZIONI
-=============
-
-Per qualsiasi informazione ulteriore (come fare per?), leggi il nostro wiki:
- http://www.prestashop.com/wiki/
-
-FORUM
-======
-
-Puoi anche inserirti, chattare, e contribuire alla community PrestaShop nei nostri forum:
- http://www.prestashop.com/forums/
-
-Ti ringraziamo per l'uso della soluzione open-source PrestaShop per il commercio online!
-
-==========================
-= The PrestaTeam' =
-= www.PrestaShop.com =
-==========================
diff --git a/search.php b/search.php
deleted file mode 100644
index 3e8f1ad26..000000000
--- a/search.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/search'.$params);
-
diff --git a/sitemap.php b/sitemap.php
deleted file mode 100644
index 636fc58b4..000000000
--- a/sitemap.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/sitemap'.$params);
-
diff --git a/sitemap.xml b/sitemap.xml
deleted file mode 100644
index e69de29bb..000000000
diff --git a/statistics.php b/statistics.php
deleted file mode 100644
index 542b9b3f0..000000000
--- a/statistics.php
+++ /dev/null
@@ -1,58 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-if (!isset($_POST['token']) OR !isset($_POST['type']))
- die;
-
-include(dirname(__FILE__).'/config/config.inc.php');
-
-if ($_POST['type'] == 'navinfo')
-{
- if (sha1($_POST['id_guest']._COOKIE_KEY_) != $_POST['token'])
- die;
-
- $guest = new Guest((int)$_POST['id_guest']);
- $guest->javascript = true;
- $guest->screen_resolution_x = (int)($_POST['screen_resolution_x']);
- $guest->screen_resolution_y = (int)($_POST['screen_resolution_y']);
- $guest->screen_color = (int)($_POST['screen_color']);
- $guest->sun_java = (int)($_POST['sun_java']);
- $guest->adobe_flash = (int)($_POST['adobe_flash']);
- $guest->adobe_director = (int)($_POST['adobe_director']);
- $guest->apple_quicktime = (int)($_POST['apple_quicktime']);
- $guest->real_player = (int)($_POST['real_player']);
- $guest->windows_media = (int)($_POST['windows_media']);
- $guest->update();
-}
-elseif ($_POST['type'] == 'pagetime')
-{
- if (sha1($_POST['id_connections'].$_POST['id_page'].$_POST['time_start']._COOKIE_KEY_) != $_POST['token'])
- die;
- if (!Validate::isInt($_POST['time']) OR $_POST['time'] <= 0)
- die;
- Connection::setPageTime((int)$_POST['id_connections'], (int)$_POST['id_page'], substr($_POST['time_start'], 0, 19), intval($_POST['time']));
-}
\ No newline at end of file
diff --git a/stores.php b/stores.php
deleted file mode 100644
index 8e955b5ee..000000000
--- a/stores.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/stores'.$params);
-
diff --git a/supplier.php b/supplier.php
deleted file mode 100644
index 2f8509ac1..000000000
--- a/supplier.php
+++ /dev/null
@@ -1,40 +0,0 @@
-
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*/
-
-require(dirname(__FILE__).'/config/config.inc.php');
-Tools::displayFileAsDeprecated();
-
-// init front controller in order to use Tools::redirect
-$controller = new FrontController();
-$controller->init();
-
-$params = $_SERVER['QUERY_STRING'];
-if (!empty($params))
- $params = '?'.$params;
-
-Tools::redirect('index.php/supplier'.$params);
-
diff --git a/themes/debug.tpl b/themes/debug.tpl
deleted file mode 100644
index 27227baf8..000000000
--- a/themes/debug.tpl
+++ /dev/null
@@ -1,90 +0,0 @@
-{*
-* 2007-2011 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA
-* @copyright 2007-2011 PrestaShop SA
-* @version Release: $Revision: 1.4 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
-
-{* Smarty *}
-
-{* debug.tpl, last updated version 2.0.1 *}
-
-{assign_debug_info}
-
-{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"}
-
- | Smarty Debug Console |
- | included templates & config files (load time in seconds): |
- {section name=templates loop=$_debug_tpls}
- | {section name=indent loop=$_debug_tpls[templates].depth} {/section}{$_debug_tpls[templates].filename|escape:html}{if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}{/if} |
- {sectionelse}
- | no templates included |
- {/section}
- | assigned template variables: |
- {section name=vars loop=$_debug_keys}
- | {ldelim}${$_debug_keys[vars]}{rdelim} | {$_debug_vals[vars]|@debug_print_var} |
- {sectionelse}
- | no template variables assigned |
- {/section}
- | assigned config file variables (outer template scope): |
- {section name=config_vars loop=$_debug_config_keys}
- | {ldelim}#{$_debug_config_keys[config_vars]}#{rdelim} | {$_debug_config_vals[config_vars]|@debug_print_var} |
- {sectionelse}
- | no config vars assigned |
- {/section}
-
-