##-- INSTALL -------------
 case 'install':
     require_once _COMMUNITY_ACL_ADMIN_HOME . '/installer.helper.php';
     require_once _COMMUNITY_ACL_ADMIN_HOME . '/install.community_acl.php';
     /* * /
     		echo '<pre>';
     		print_r($_REQUEST);
     		echo '</pre>';
     		/* */
     $frontendPath = JPATH_ROOT . DS . 'components' . DS;
     $comprofiler_filepath = $frontendPath . "com_comprofiler/plugin/user/index.html";
     switch ($step) {
         case 1:
             print_r("<h1>Step 1: Requirements</h1>");
             print_r(caclInstaller::checkRequirements());
             print_r(caclInstaller::updateCACL_tables());
             break;
         case 2:
             print_r("<h1>Step 2: Install Joomla Plugin</h1>");
             print_r(caclInstaller::installJoomla_Plugin());
             break;
         case 3:
             print_r("<h1>Step 3: Install Patch files</h1>");
             print_r(caclInstaller::installPatch_files());
             break;
         case 4:
             if (file_exists($comprofiler_filepath)) {
                 print_r("<h1>Step 4: Install Community Builder Plugin</h1>");
                 print_r(caclInstaller::installCB_Plugin());
                 break;
             }
Example #2
0
 case 'install':
     require_once _COMMUNITY_ACL_ADMIN_HOME . '/installer.helper.php';
     require_once _COMMUNITY_ACL_ADMIN_HOME . '/install.community_acl.php';
     /* * /
     		echo '<pre>';
     		print_r($_REQUEST);
     		echo '</pre>';
     		/* */
     $frontendPath = JPATH_ROOT . DS . 'components' . DS;
     $comprofiler_filepath = $frontendPath . "com_comprofiler/plugin/user/index.html";
     switch ($step) {
         case 1:
             print_r("<h1>Step 1: Requirements</h1>");
             print_r(caclInstaller::checkRequirements());
             # Update Community ACL tables
             caclInstaller::updateCACL_tables();
             break;
         case 2:
             print_r("<h1>Step 2: Install Joomla Plugin</h1>");
             print_r(caclInstaller::installJoomla_Plugin());
             break;
         case 3:
             print_r("<h1>Step 3: Install Patch files</h1>");
             print_r(caclInstaller::installPatch_files());
             break;
         case 4:
             if (file_exists($comprofiler_filepath)) {
                 print_r("<h1>Step 4: Install Community Builder Plugin</h1>");
                 print_r(caclInstaller::installCB_Plugin());
                 break;
             }