| Line |   | 
|---|
| 1 | <?php | 
|---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- | 
|---|
| 3 | # | 
|---|
| 4 | # This file is part of Dotclear 2. | 
|---|
| 5 | # | 
|---|
| 6 | # Copyright (c) 2003-2010 Olivier Meunier & Association Dotclear | 
|---|
| 7 | # Licensed under the GPL version 2.0 license. | 
|---|
| 8 | # See LICENSE file or | 
|---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | 
|---|
| 10 | # | 
|---|
| 11 | # -- END LICENSE BLOCK ----------------------------------------- | 
|---|
| 12 | if (!defined('DC_CONTEXT_ADMIN')) { return; } | 
|---|
| 13 |  | 
|---|
| 14 | $_menu['Plugins']->addItem(__('Import/Export'),'plugin.php?p=importExport','index.php?pf=importExport/icon.png', | 
|---|
| 15 |           preg_match('/plugin.php\?p=importExport(&.*)?$/',$_SERVER['REQUEST_URI']), | 
|---|
| 16 |           $core->auth->check('admin',$core->blog->id)); | 
|---|
| 17 |  | 
|---|
| 18 | # Files needed by flat files import / export | 
|---|
| 19 | $__autoload['backupFile'] = dirname(__FILE__).'/inc/flat/class.backupFile.php'; | 
|---|
| 20 | $__autoload['dcImport'] = dirname(__FILE__).'/inc/flat/class.dc.import.php'; | 
|---|
| 21 | $__autoload['dbExport'] = dirname(__FILE__).'/inc/flat/class.db.export.php'; | 
|---|
| 22 | ?> | 
|---|
       
      Note: See 
TracBrowser
        for help on using the repository browser.