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