mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-03 19:30:49 +02:00
Use __DIR__ instead of dirname(__FILE__) (#817)
This commit is contained in:
committed by
GitHub
parent
4550fc0339
commit
1b556c7077
@@ -17,7 +17,7 @@ class ClearAssignTest extends PHPUnit_Smarty
|
||||
{
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->setUpSmarty(dirname(__FILE__));
|
||||
$this->setUpSmarty(__DIR__);
|
||||
$this->smarty->assign('foo', 'foo');
|
||||
$this->smarty->assign('bar', 'bar');
|
||||
$this->smarty->assign('blar', 'blar');
|
||||
|
||||
Reference in New Issue
Block a user