peclcmd.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * PEAR, the PHP Extension and Application Repository
  4. *
  5. * Command line interface
  6. *
  7. * PHP versions 4 and 5
  8. *
  9. * @category pear
  10. * @package PEAR
  11. * @author Stig Bakken <ssb@php.net>
  12. * @author Tomas V.V.Cox <cox@idecnet.com>
  13. * @copyright 1997-2009 The Authors
  14. * @license http://opensource.org/licenses/bsd-license.php New BSD License
  15. * @link http://pear.php.net/package/PEAR
  16. */
  17. /**
  18. * @nodep Gtk
  19. */
  20. //the space is needed for windows include paths with trailing backslash
  21. // http://pear.php.net/bugs/bug.php?id=19482
  22. if ('D:\phpstudy_pro\WWW\laravel-app\pear ' != '@'.'include_path'.'@ ') {
  23. ini_set('include_path', trim('D:\phpstudy_pro\WWW\laravel-app\pear '). PATH_SEPARATOR . get_include_path());
  24. $raw = false;
  25. } else {
  26. // this is a raw, uninstalled pear, either a cvs checkout, or php distro
  27. ini_set('include_path', __DIR__ . PATH_SEPARATOR . get_include_path());
  28. $raw = true;
  29. }
  30. define('PEAR_RUNTYPE', 'pecl');
  31. require_once 'pearcmd.php';
  32. /*
  33. * Local variables:
  34. * tab-width: 4
  35. * c-basic-offset: 4
  36. * indent-tabs-mode: nil
  37. * mode: php
  38. * End:
  39. */
  40. // vim600:syn=php
  41. ?>