Use phpmyadmin/sql-parser, the udan11 one is not maintained
[php-sqllint.git] / src / stub-phar.php
index 71f0586550989d836ce6d84628dc4c5624730d61..5c8629e23e2b44f2afe9ea2e7f46c1f0cd7af3d3 100644 (file)
@@ -12,6 +12,7 @@
  * @license   http://www.gnu.org/licenses/agpl.html GNU AGPL v3
  * @link      http://cweiske.de/php-sqllint.htm
  */
-require 'phar://' . __FILE__ . '/bin/phar-php-sqllint.php';
+Phar::mapPhar('php-sqllint.phar');
+require 'phar://php-sqllint.phar/bin/phar-php-sqllint.php';
 __HALT_COMPILER();
 ?>