update v1.0.7.1

This commit is contained in:
Sujit Prasad
2016-04-20 15:26:00 +05:30
parent f5c52a90fd
commit a97e78069c
19 changed files with 196 additions and 216 deletions

View File

@@ -125,7 +125,7 @@ class TemplateController extends Controller
*/
public function listdirectories()
{
$path = '../resources/views/emails/';
$path = \Config::get('view.paths')[0].'/emails/';
$directories = scandir($path);
$directory = str_replace('/', '-', $path);