Initialize css reference properly.
This commit is contained in:
		
							parent
							
								
									d7c7bbe579
								
							
						
					
					
						commit
						10357f78ff
					
				
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -3,7 +3,7 @@ | ||||
| *.sqlite | ||||
| *.txt | ||||
| 
 | ||||
| docker_compose.yml | ||||
| docker-compose.yml | ||||
| init_complete | ||||
| storage/upload/css | ||||
| scratch | ||||
| @ -41,7 +41,7 @@ class AdminController extends Controller { | ||||
|             // Site settings
 | ||||
|             $siteTitle       = trim($_POST['site_title']) ?? ''; | ||||
|             $siteDescription = trim($_POST['site_description']) ?? ''; | ||||
|             $baseUrl        = trim($_POST['base_url'] ?? ''); | ||||
|             $baseUrl         = trim($_POST['base_url'] ?? ''); | ||||
|             $basePath        = trim($_POST['base_path'] ?? '/'); | ||||
|             $itemsPerPage    = (int) ($_POST['items_per_page'] ?? 25); | ||||
| 
 | ||||
|  | ||||
| @ -7,7 +7,7 @@ class ConfigModel { | ||||
|     public string $basePath = ''; | ||||
|     public int $itemsPerPage = 25; | ||||
|     public string $timezone = 'relative'; | ||||
|     public ?int $cssId; | ||||
|     public ?int $cssId = null; | ||||
| 
 | ||||
|     public static function isFirstSetup(): bool { | ||||
|         return !file_exists(STORAGE_DIR . '/init_complete'); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user