Skip to content
Browse files

Read from config

  • Loading branch information...
1 parent ad14db1 commit 2cd56ab04aa0b779aa545c5fc89d05a17ab6b141 @CloCkWeRX CloCkWeRX committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 cron/apidoc-queue.php
View
5 cron/apidoc-queue.php
@@ -40,8 +40,7 @@
// pear install docblox
// apt-get install graphviz
// And... uncomment the below
-$documentation_engine = 'phpdocumentor';
-// $documentation_engine = 'phpdocumentor2';
+
require_once dirname(dirname(__FILE__)) . '/include/pear-config.php';
require_once 'DB.php';
@@ -156,7 +155,7 @@ function _postProcessValidPackagexml(&$pf)
$tar->extract($tmpdir);
- switch ($documentation_engine) {
+ switch (PEAR_DOCUMENTATION_ENGINE) {
case 'phpdocumentor2':
$command = sprintf(
"/usr/local/bin/phpdoc -d %s --title '%s' -t %s --ignore */data/*,*/tests/*; rm -rf %s",

0 comments on commit 2cd56ab

Please sign in to comment.
Something went wrong with that request. Please try again.