disabled design

This commit is contained in:
developer 2026-03-27 10:41:18 +08:00
parent a832749c07
commit 6f97529615
2 changed files with 4 additions and 3 deletions

View File

@ -28,11 +28,12 @@ public function boot()
$this->registerComponent(); $this->registerComponent();
$this->registerLivewire(); $this->registerLivewire();
$this->registerHelpers(); $this->registerHelpers();
define('DESIGN_PARAMETERS', Design::getParameters());
/*define('DESIGN_PARAMETERS', Design::getParameters());
if (array_key_exists('title', DESIGN_PARAMETERS)) { if (array_key_exists('title', DESIGN_PARAMETERS)) {
\Config::set('app.name', DESIGN_PARAMETERS['title']); \Config::set('app.name', DESIGN_PARAMETERS['title']);
} }*/
} }
protected function registerViews() protected function registerViews()

View File

@ -24,7 +24,7 @@
if($json['total_commits'] > 0) if($json['total_commits'] > 0)
{ {
$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && php artisan migrate && npm run build"); $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull");
//$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull"); //$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull");
echo "<p>$result</p>"; echo "<p>$result</p>";
} }