zEitEr
Super Moderator
Hello!
OS: FreeBSD 7.2-RELEASE amd64
DirectAdmin v1.36.0
Directadmin does not run any PHP code added to skins.
I've installed plugin for DirectAdmin, but no link for Admin/Reseller/User is shown.
Plugin works fine, if accessed directly. The same is with "Hello, World" plugin (http://www.directadmin.com/hello_world.tar.gz). No links.
I've checked skins (default and customized). Just the same, no links. No PHP is executed in the section:
of the /usr/local/directadmin/data/skins/power_user/admin/content_main.html
I've added:
into /usr/local/directadmin/data/skins/power_user/header.html
...and nothing but {== ==}.
Have no other servers with FreeBSD 64 to check it out. But there's no such a problem on CentOS (fresh DA) boxes and FreeBSD 7.2-RELEASE i386 (DA v1.34.5).
How can I fix it?
OS: FreeBSD 7.2-RELEASE amd64
DirectAdmin v1.36.0
Directadmin does not run any PHP code added to skins.
I've installed plugin for DirectAdmin, but no link for Admin/Reseller/User is shown.
Plugin works fine, if accessed directly. The same is with "Hello, World" plugin (http://www.directadmin.com/hello_world.tar.gz). No links.
I've checked skins (default and customized). Just the same, no links. No PHP is executed in the section:
Code:
|$/usr/local/bin/php
<?php
$data = <<<END
|PLUGIN_0_ADMIN_TXT|
END;
if (strlen($data) > 1)
{
echo <<<END
<tr>
<td class=list>
$data
</td>
<td class=list>
|PLUGIN_1_ADMIN_TXT|
</td>
</tr>
END;
}
...
...
...
of the /usr/local/directadmin/data/skins/power_user/admin/content_main.html
I've added:
Code:
{== |$/usr/local/bin/php
<?php
print "Hello!";
?>
DONE| ==}
into /usr/local/directadmin/data/skins/power_user/header.html
...and nothing but {== ==}.
Have no other servers with FreeBSD 64 to check it out. But there's no such a problem on CentOS (fresh DA) boxes and FreeBSD 7.2-RELEASE i386 (DA v1.34.5).
How can I fix it?