Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Multiple instances running with same folder name gives an error #41

Open
karimnl024 opened this issue Feb 2, 2016 · 2 comments
Open
Assignees

Comments

@karimnl024
Copy link

When I run two instances of dwoo in the same class, and I have two folders with identical names, it gives an error as dwoo compiles them in folders with the name of the folder for tpls. Don' t know how to properly describe.

@emulienfou
Copy link
Contributor

I, can you be more specific about your problem?
It will be easier for me if you can add an example of the part of your code you having this problem.

Thanks

@karimnl024
Copy link
Author

Dear,

Say I have a file "/www/index.php" and a file "/www/admin/index.php" and
use tpl on both of them, both have their own folder where the tpl's are
stored. Let's say:
"/www/templates" and "/www/admin/templates".

When I then call to the template "index.tpl" or "default.tpl" in both, dwoo
tends to store them in the compiled folder with the same name. And thus the
one will call to the other which will give problems.

Suggestion: use a hash or something like that containing the directory and
store the compiled files that way.

Is Dwoo dead btw? I haven't seen some updates in quite some time.
If you have any more questions, let me know! Thanks for the help ;-)

Kind regards,
Karim Abdulahi.

2016-02-02 18:57 GMT+01:00 DSanchez [email protected]:

I, can you be more specific about your problem?
It will be easier for me if you can add an example of the part of your
code you having this problem.

Thanks


Reply to this email directly or view it on GitHub
#41 (comment).

The information contained in this message may be confi dential and is
intended to be exclusively for the addressee. Should you receive this
message unintentionally, please do not use, disclose, distribute or
multiply the contents herein and notify the sender immediately by return
e-mail and delete this message thereafter.

@emulienfou emulienfou added this to the 2.0 milestone Sep 10, 2016
@emulienfou emulienfou self-assigned this Sep 10, 2016
@emulienfou emulienfou modified the milestones: 2.0, 1.3.0 Sep 19, 2016
@emulienfou emulienfou modified the milestone: 1.3.1 Dec 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants