I have declared a XML manifest file for my extension of type file like this:
<?xml version="1.0" encoding="utf-8"?>
<extension type="file" version="2.5" method="upgrade">
<name>os_mp</name>
...
...
<scriptfile>script.php</scriptfile>
...
...
</extension>
The script file is like this:
defined('_JEXEC') or die;
class os_mpInstallerScript
{
public function postflight($type, $parent)
{
echo '<h1>' . $type . '</h1>';
var_dump($type);
var_dump($parent);
}
}
But the code of the scrip file doesn't seem to get executed.
Please advise!