changeset 372 | a8a975a88368 |
parent 0 | b97547f5f1fa |
child 479 | ac5c9442b1fd |
--- a/schema.py Thu Jan 08 14:36:07 2009 +0100 +++ b/schema.py Thu Jan 08 16:53:41 2009 +0100 @@ -868,7 +868,10 @@ from <directory> """ self.info('loading %s schemas', ', '.join(config.cubes())) - path = reversed([config.apphome] + config.cubes_path()) + if config.apphome: + path = reversed([config.apphome] + config.cubes_path()) + else: + path = reversed(config.cubes_path()) return super(CubicWebSchemaLoader, self).load(config, path=path) def _load_definition_files(self, cubes):