Пример #1
0
 /**
  * Execute the runAfter process
  *  
  * @access public      
  * @return boolean
  */
 public static function doRunAfter()
 {
     if (file_exists(DIR_FS_WORK . 'updates/runAfter/controller.php')) {
         try {
             include_once DIR_FS_WORK . 'updates/runAfter/controller.php';
             lC_Updates_Admin_run_after::process();
             return true;
         } catch (Exception $e) {
             return false;
         }
     }
 }
Пример #2
0
 /**
  * Execute the runAfter process
  *  
  * @access public      
  * @return boolean
  */
 public static function doRunAfter()
 {
     // remove the vqmod cache files
     self::rmdir_r(DIR_FS_WORK . 'cache/vqmod/', true);
     if (file_exists(DIR_FS_WORK . 'updates/runAfter/controller.php')) {
         try {
             include_once DIR_FS_WORK . 'updates/runAfter/controller.php';
             lC_Updates_Admin_run_after::process();
             return true;
         } catch (Exception $e) {
             return false;
         }
     }
 }