package cPanel::CMS::PostNuke;

use strict;
use warnings;

our $VERSION = 0.1;
my $pkg = __PACKAGE__;

our $meta_info = {
    adminuser_pass => 1, 
    admin_email    => 1, 
    installdir     => 'postnuke',
    description    => 'PHP/MySQL based CMS', # required
    security       => 'Configuration has to be world readable. Requires 777 permissions to funtion which is highly exploitable and insecure. Subject to all common PHP security problems',
    version        => '0.761', # required
    security_rank  => 1, 
    website        => 'http://www.postnuke.com/', 
    config_files   => ['config.php'],
    mysql          => ['pn'],
    table_prefix   => 'pn', 
    chmod          => {
        '0777' => [qw(pnTemp/pnRender_compiled pnTemp/pnRender_cache pnTemp/Xanthia_compiled pnTemp/Xanthia_cache pnTemp/Xanthia_Config)],
    },
};

#### action functions ##
sub install { shift->stdinstall(@_) }
sub upgrade { shift->stdupgrade(@_) }
sub uninstall { shift->stduninstall(@_) }

#### non action functions ##
sub installform { print shift->{installform} }
sub upgradeform { print shift->{upgradeform} }
sub uninstallform { print shift->{uninstallform} }

1;
