Advertisement:

Author Topic: Mods: Adding / removing a file  (Read 2363 times)

Offline –Michael

  • Jr. Member
  • **
  • Posts: 106
  • Gender: Male
Mods: Adding / removing a file
« on: May 14, 2005, 02:31:53 PM »
Hi,

What is the best way to add a new *.php - file in a specific directory during mod installation?
The same is needed for the rollback, so the created file needs to be removed during uninstallation of the mod.

Thanks for any hints,
Michael
« Last Edit: May 16, 2005, 12:45:07 PM by -Michael- »
My SMF Mod: Static Page Mod

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Mods: Adding / removing a file
« Reply #1 on: May 15, 2005, 11:19:27 PM »
If you can read DTDs:

http://www.simplemachines.org/xml/package-info

-[Unknown]

Offline –Michael

  • Jr. Member
  • **
  • Posts: 106
  • Gender: Male
Re: Mods: Adding / removing a file
« Reply #2 on: May 16, 2005, 12:30:25 PM »
Great, thanks.

Michael
My SMF Mod: Static Page Mod