Removing dirname(__FILE__)

This commit is contained in:
Romain Neutron
2011-12-26 20:42:31 +01:00
parent 03a0703441
commit cda51b4686
179 changed files with 231 additions and 231 deletions

View File

@@ -50,7 +50,7 @@ class module_console_taskrun extends Command
throw new RuntimeException('Phraseanet is not set up');
}
require_once dirname(__FILE__) . '/../../../../lib/bootstrap.php';
require_once __DIR__ . '/../../../../lib/bootstrap.php';
$task_id = (int) $input->getArgument('task_id');