|
@@ -114,10 +114,10 @@ |
|
|
block discarded – undo |
|
114
|
114
|
); |
|
115
|
115
|
|
|
116
|
116
|
if(!file_exists($this->path . DIRECTORY_SEPARATOR . $tpl . '.tpl.php')){ |
|
117
|
|
- $_SESSION['data'] = unserialize($_SESSION['data']); |
|
118
|
|
- $_SESSION['data']['title'] = 'Arquivo tpl não localizado:'; |
|
119
|
|
- $_SESSION['data']['message'] = 'Import \''.str_replace(['@import(\'','\')'],'',$import).'\' não encontrado.'; |
|
120
|
|
- throw new \Exception('Import \''.str_replace(['@import(\'','\')'],'',$import).'\' não encontrado.'); |
|
|
117
|
+ $_SESSION['data'] = unserialize($_SESSION['data']); |
|
|
118
|
+ $_SESSION['data']['title'] = 'Arquivo tpl não localizado:'; |
|
|
119
|
+ $_SESSION['data']['message'] = 'Import \''.str_replace(['@import(\'','\')'],'',$import).'\' não encontrado.'; |
|
|
120
|
+ throw new \Exception('Import \''.str_replace(['@import(\'','\')'],'',$import).'\' não encontrado.'); |
|
121
|
121
|
} |
|
122
|
122
|
|
|
123
|
123
|
try{ |
Please login to merge, or discard this patch.