Skip to content

Commit acbe0e7

Browse files
committed
modif
1 parent c2062ec commit acbe0e7

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app/config/base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
return [
99

1010
'sitename' => 'sijiaomao framework',
11-
'dsn' => 'mysql://mymvc:123456@localhost:3306/mydb',
11+
'dsn' => 'mysql://root:password@localhost:3306/mydb',
1212

1313
];

app/controllers/BaseController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public function initTpl()
3636
$set->addMacro('url', function ($node, $writer) {
3737
return $writer->write('echo "' . SITE_URL . '%node.args' . '"');
3838
});
39-
$this->latte->
4039
}
4140

4241
public function loadConfig()

app/views/layouts/app.latte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<!-- Branding Image -->
2828
<a class="navbar-brand" href="">
29-
Laravel
29+
{$sitename}
3030
</a>
3131
</div>
3232

0 commit comments

Comments
 (0)