Jump to content

Recommended Posts

Posted

Hello guys,

I have some problem, the problem is "How to delete a file of the template?"

When i create some template, the first thing i do is create some file ".php" in /site/templates, and then i create a template for displaying file ".php"

But how to delete this file ".php" when i delete the template of the file? With unlink or what?

 

Thank You before 

Posted

@zoeck Thank you for your reply and your suggestion

But i want to delete the php file from PW via API, like delete a file with PHP is UNLINK, is there any other way in PW?

Thank you before?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...