This commit is contained in:
Ronald Quenta
2017-08-29 11:58:03 -04:00
parent 2c4b09248d
commit dc7e5d933e
2 changed files with 13 additions and 23 deletions

View File

@@ -22,6 +22,10 @@
*
*/
require_once __DIR__ . '/../../../gulliver/system/class.g.php';
require_once __DIR__ . '/../../../bootstrap/autoload.php';
require_once __DIR__ . '/../../../bootstrap/app.php';
// check script parameters
// php reindex_solr.php workspacename [reindexall|reindexmissing|optimizeindex] [-skip 1005] [-reindextrunksize 1000]
// var_dump($argv);
@@ -117,7 +121,6 @@ if (! defined ('PATH_HOME')) {
define( 'PATH_CLASSES', PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP );
require_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
spl_autoload_register(array('Bootstrap', 'autoloadClass'));
}
print "PATH_HOME: " . PATH_HOME . "\n";