Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PathReplacement: error using tpl_dir as array #163

Open
wu3rstle opened this issue Nov 14, 2014 · 2 comments
Open

PathReplacement: error using tpl_dir as array #163

wu3rstle opened this issue Nov 14, 2014 · 2 comments

Comments

@wu3rstle
Copy link
Contributor

If i use multiple template directories according to your documentation, i get an "array to string conversion" error.

$config = array(
    .
    .
    'tpl_dir' => array(
        'app/views/',
    ),
    .
    .
);
Tpl::configure($config);
@feulf
Copy link
Owner

feulf commented Nov 14, 2014

this needs a fix in the path_replace plugin

@wu3rstle
Copy link
Contributor Author

Which element should be used?
Last element of the template path or the first one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants