Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.
This repository was 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

Description

@karimnl024

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.

Activity

  1. emulienfou commented on Feb 2, 2016

    @emulienfou
    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

  2. karimnl024 commented on Feb 3, 2016

    @karimnl024
    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 notifications@github.com:

    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.

  3. added this to the 2.0 milestone on Sep 10, 2016
  4. self-assigned this
    on Sep 10, 2016
  5. modified the milestones: 2.0, on Sep 19, 2016
  6. modified the milestone: 1.3.1 on Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions