Ignore:
Timestamp:
Sep 20, 2014, 1:43:01 PM (10 years ago)
Author:
plg
Message:
  • feature 3142: upgrade script to Piwigo 2.7
  • link to Tour 2_7_0 at the end of upgrade
  • activate plugin Take a Tour by default
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_install.inc.php

    r26946 r29665  
    8989
    9090/**
     91 * Automatically activate some core plugins
     92 */
     93function activate_core_plugins()
     94{
     95  include_once(PHPWG_ROOT_PATH.'admin/include/plugins.class.php');
     96 
     97  $plugins = new plugins();
     98
     99  foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
     100  {
     101    if (in_array($plugin_id, array('TakeATour')))
     102    {
     103      $plugins->perform_action('activate', $plugin_id);
     104    }
     105  }
     106}
     107
     108/**
    91109 * Connect to database during installation. Uses $_POST.
    92110 *
Note: See TracChangeset for help on using the changeset viewer.