title: Using prestashop app from script located outside prestashop folder
body: <p>I would like to use the prestashop app from a php script (external_script.php) located outside prestashop folder but still on the same server.</p>
  
  <p>I could do that with Magento using :</p>
  
  <pre><code>    require_once external_folder/magento/app/Mage.php;
  </code></pre>
  
  <p>I've tried to include <em>prestashop/config/config.inc.php</em> and <em>prestashop/init.php</em> but it redirects <em>external_script.php</em> to prestashop <em>index.php</em></p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>STEF</p>