Monday, May 20, 2013
   
Text Size

Favourites Email Print

How to check if user installted odude profile component ?

Author:
Administrator
Date added:
Wednesday, 10 November 2010
Last revised:
Wednesday, 10 November 2010
Hits:
4171
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

<?php

$odude_profile=JPATH_ROOT.DS.'components'.DS.'com_odudeprofile'.DS;

if(file_exists($odude_profile."odudeprofile.php"))

{

  // ODude profile is installed. Point system can be used for your component.

}

else
{
echo "ODude Profile component and plugin should be installed.";
}

?>

Category

Add comment


Security code
Refresh