Update OnDaemonRun.hook.php

Removed deprecated NamedVirtualHost code;
Fixed type in panel custom port variable: 'apache_port' changed to 'zpanel_port';