edfe015
diff --git a/potx.inc b/potx.inc
edfe015
index bfe1221..2589b5a 100644
edfe015
--- a/potx.inc
edfe015
+++ b/potx.inc
edfe015
@@ -21,13 +21,8 @@
edfe015
  *   'Localization server' module: http://drupal.org/project/l10n_server
edfe015
  */
edfe015
 
edfe015
-/**
edfe015
- * Use Twig and the Symfony YAML parser, found in the vendor directory.
edfe015
- */
edfe015
-set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ . '/vendor');
edfe015
-spl_autoload_register(function($c){
edfe015
-  @include preg_replace('#\\\|_(?!.*\\\)#','/',$c).'.php';
edfe015
-});
edfe015
+require_once '/usr/share/php/Symfony/Component/Yaml/autoload.php';
edfe015
+require_once '/usr/share/php/Twig/autoload.php';
edfe015
 
edfe015
 use Symfony\Component\Yaml\Yaml;
edfe015
 use Symfony\Component\Yaml\Exception\ParseException;