- Moved storage into console, where it belongs
This commit is contained in:
		
							parent
							
								
									9b795b857a
								
							
						
					
					
						commit
						6c58586823
					
				| @ -90,7 +90,6 @@ | |||||||
|                     "meta/definitions/language.php", |                     "meta/definitions/language.php", | ||||||
|                     "meta/definitions/routes.php", |                     "meta/definitions/routes.php", | ||||||
|                     "meta/definitions/software.php", |                     "meta/definitions/software.php", | ||||||
|                     "meta/definitions/storage.php", |  | ||||||
|                     "meta/definitions/template.php" |                     "meta/definitions/template.php" | ||||||
|                 ], |                 ], | ||||||
|                 "config": [ |                 "config": [ | ||||||
|  | |||||||
| @ -1,19 +0,0 @@ | |||||||
| <?php |  | ||||||
| 
 |  | ||||||
| use Psr\Container\ContainerInterface; |  | ||||||
| 
 |  | ||||||
| use Ulmus\ConnectionAdapter, |  | ||||||
|     Ulmus\Container\AdapterProxy; |  | ||||||
| 
 |  | ||||||
| use Storage\Session; |  | ||||||
| 
 |  | ||||||
| use function DI\autowire, DI\create, DI\get; |  | ||||||
| 
 |  | ||||||
| return [ |  | ||||||
|     'lean:adapter.sqlite' => function($c) { |  | ||||||
|         $adapter = new ConnectionAdapter('sqlite', $c->get('config')['ulmus'], true); |  | ||||||
|         $adapter->resolveConfiguration(); |  | ||||||
| 
 |  | ||||||
|         return $adapter; |  | ||||||
|     } |  | ||||||
| ]; |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user