Security fix (3)

Remove modname var scan as not necessary after Security fix (2).
Small correction related to ".php" extension verification for the
included.