diff options
| author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-24 23:02:57 +0200 |
|---|---|---|
| committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-06-24 23:02:57 +0200 |
| commit | 6111272568a732465c330597a068a048f6705ef9 (patch) | |
| tree | f8829dfb4c4ee566a69f91d397e74e74aec56dbd /modules/g2_import/helpers/g2_import.php | |
| parent | de28b0350e5d5bf6c3e1eb5a9531298b08fd7cba (diff) | |
| parent | f56d372629df5b08a30d0182d4e1e7c97a44d79f (diff) | |
Merge commit 'upstream/master'
Conflicts:
modules/comment/helpers/comment_installer.php
modules/gallery/models/item.php
Diffstat (limited to 'modules/g2_import/helpers/g2_import.php')
| -rw-r--r-- | modules/g2_import/helpers/g2_import.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index 2eee564a..91ca1e63 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -113,11 +113,13 @@ class g2_import_Core { "require_once(dirname(__FILE__) . '/modules/core/classes/GalleryDataCache.class');", "define('GALLERY_CONFIG_DIR', dirname(__FILE__));", "\$gallery =& new Gallery();", + "\$GLOBALS['gallery'] =& new Gallery();", "\$gallery = new Gallery();"), array("require_once(dirname(__FILE__) . '/Gallery.class');", "require_once('$base_dir/modules/core/classes/GalleryDataCache.class');", "define('GALLERY_CONFIG_DIR', '$config_dir');", "\$gallery =& new G2_Gallery();", + "\$GLOBALS['gallery'] =& new G2_Gallery();", "\$gallery = new G2_Gallery();"), array_merge(array("<?php defined(\"SYSPATH\") or die(\"No direct script access.\") ?>\n"), file("$base_dir/bootstrap.inc")))); |
