just fixing somet paths in the checkpad script..

pull/705/head
adammawson 2012-04-30 18:24:38 +01:00
parent 40af25d282
commit b5f92edec1
1 changed files with 4 additions and 4 deletions

View File

@ -11,10 +11,10 @@ if(process.argv.length != 3)
var padId = process.argv[2]; var padId = process.argv[2];
//initalize the database //initalize the database
var log4js = require("log4js"); var log4js = require("../src/node_modules/log4js");
log4js.setGlobalLogLevel("INFO"); log4js.setGlobalLogLevel("INFO");
var async = require("async"); var async = require("../src/node_modules/async");
var db = require('../node/db/DB'); var db = require('../src/node/db/DB');
var Changeset = require("ep_etherpad-lite/static/js/Changeset"); var Changeset = require("ep_etherpad-lite/static/js/Changeset");
var padManager; var padManager;
@ -28,7 +28,7 @@ async.series([
//get the pad //get the pad
function (callback) function (callback)
{ {
padManager = require('../node/db/PadManager'); padManager = require('../src/node/db/PadManager');
padManager.doesPadExists(padId, function(err, exists) padManager.doesPadExists(padId, function(err, exists)
{ {