Skip to content

Commit fa6efd7

Browse files
dereuromarkADmad
andauthored
Update src/Application.php
Co-authored-by: ADmad <ADmad@users.noreply.github.com>
1 parent b41e9b9 commit fa6efd7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Application.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@ public function bootstrap(): void
4646
// Call parent to load bootstrap from files.
4747
parent::bootstrap();
4848

49-
// Use if you need fallback tables
50-
//\Cake\Datasource\FactoryLocator::add(
51-
// 'Table',
52-
// (new \Cake\ORM\Locator\TableLocator())->allowFallbackClass(false),
53-
//);
49+
FactoryLocator::add('Table', (new TableLocator())->allowFallbackClass(false));
5450
}
5551

5652
/**

0 commit comments

Comments
 (0)