This commit is contained in:
Bashy 2026-05-03 20:56:15 +03:00
commit 60ca58f5ba
80 changed files with 9458 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?php
require_once __DIR__ . '/ProjectTypeBase.php';
class WebsiteProject extends ProjectTypeBase {
public static function typeSlug(): string { return 'website'; }
public static function typeName(): string { return 'Website'; }
public static function typeIcon(): string { return 'bi-globe'; }
public static function description(): string { return 'Static or PHP website'; }
public static function tabs(): array {
return ['dashboard', 'analytics', 'files', 'git', 'notes', 'settings'];
}
public static function detectFromPath(string $path): bool {
return file_exists($path . '/index.html') || file_exists($path . '/index.php');
}
}