MailChimp for WordPress - Version 2.3.2

Version Description

  • May 12, 2015 =

Fixes

  • Groupings not being sent to MailChimp
  • Get correct IP address when using proxy like Cloudflare or Sucuri WAF.
  • Issue when using more than one {data_xx} replacement

Improvements

  • IE8 compatibility for honeypot fallback script.
Download this release

Release Info

Developer DvanKooten
Plugin Icon 128x128 MailChimp for WordPress
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

includes/class-field-mapper.php CHANGED
@@ -201,7 +201,7 @@ class MC4WP_Field_Mapper {
201
  }
202
 
203
  // loop through list groupings if GROUPINGS data was sent
204
- if( isset( $data['GROUPINGS'] ) && is_array( $data['GROUPINGS'] ) && ! empty( $list->interest_groupings ) ) {
205
 
206
  $list_map['GROUPINGS'] = array();
207
 
201
  }
202
 
203
  // loop through list groupings if GROUPINGS data was sent
204
+ if( isset( $this->form_data['GROUPINGS'] ) && is_array( $this->form_data['GROUPINGS'] ) && ! empty( $list->interest_groupings ) ) {
205
 
206
  $list_map['GROUPINGS'] = array();
207
 
includes/class-form-manager.php CHANGED
@@ -153,7 +153,7 @@ class MC4WP_Lite_Form_Manager {
153
  }
154
 
155
  // Print small JS snippet later on in the footer.
156
- add_action( 'wp_footer', array( $this, 'print_js' ) );
157
 
158
  // Print CSS to hide honeypot (should be printed in `wp_head` by now)
159
  $html = '';
@@ -170,22 +170,23 @@ class MC4WP_Lite_Form_Manager {
170
  /**
171
  * Prints some inline CSS that hides the honeypot field
172
  * @param bool $echo
173
- * @return bool
174
  */
175
  public function print_css( $echo = true ) {
176
 
177
  if( $this->inline_css_printed ) {
178
- return false;
179
  }
180
 
181
  $html = '<style type="text/css">.mc4wp-form input[name="_mc4wp_required_but_not_really"] { display: none !important; }</style>';
182
 
183
- if( $echo ) {
184
  echo $html;
185
  }
186
 
187
  // make sure this function only runs once
188
  $this->inline_css_printed = true;
 
189
  return $html;
190
  }
191
 
@@ -203,27 +204,37 @@ class MC4WP_Lite_Form_Manager {
203
  // Print vanilla JavaScript
204
  ?><script type="text/javascript">
205
  (function() {
206
-
207
- function addSubmittedClass() {
208
  var className = 'mc4wp-form-submitted';
209
- (this.classList) ? this.classList.add(className) : this.className += ' ' + className;
 
 
 
 
 
 
 
 
 
210
  }
211
 
212
  var forms = document.querySelectorAll('.mc4wp-form');
213
  for (var i = 0; i < forms.length; i++) {
214
  (function(f) {
215
 
216
- // hide honeypot
217
- var honeypot = f.querySelector('input[name="_mc4wp_required_but_not_really"]');
218
- honeypot.style.display = 'none';
219
- honeypot.style.cssText += '; display: none !important;';
 
220
 
221
  // add class on submit
222
  var b = f.querySelector('[type="submit"]');
223
  if(b.addEventListener) {
224
- b.addEventListener( 'click', addSubmittedClass.bind(f));
225
  } else {
226
- b.attachEvent( 'onclick', addSubmittedClass.bind(f));
227
  }
228
 
229
  })(forms[i]);
153
  }
154
 
155
  // Print small JS snippet later on in the footer.
156
+ add_action( 'wp_footer', array( $this, 'print_js' ), 99 );
157
 
158
  // Print CSS to hide honeypot (should be printed in `wp_head` by now)
159
  $html = '';
170
  /**
171
  * Prints some inline CSS that hides the honeypot field
172
  * @param bool $echo
173
+ * @return string
174
  */
175
  public function print_css( $echo = true ) {
176
 
177
  if( $this->inline_css_printed ) {
178
+ return '';
179
  }
180
 
181
  $html = '<style type="text/css">.mc4wp-form input[name="_mc4wp_required_but_not_really"] { display: none !important; }</style>';
182
 
183
+ if( $echo !== false ) {
184
  echo $html;
185
  }
186
 
187
  // make sure this function only runs once
188
  $this->inline_css_printed = true;
189
+
190
  return $html;
191
  }
192
 
204
  // Print vanilla JavaScript
205
  ?><script type="text/javascript">
206
  (function() {
207
+ function addSubmittedClassToFormContainer(e) {
208
+ var form = e.target.form.parentNode;
209
  var className = 'mc4wp-form-submitted';
210
+ (form.classList) ? form.classList.add(className) : form.className += ' ' + className;
211
+ }
212
+
213
+ function hideHoneypot(h) {
214
+ var n = document.createElement('input');
215
+ n.type = 'hidden';
216
+ n.name = h.name;
217
+ n.style.display = 'none';
218
+ n.value = h.value;
219
+ h.parentNode.replaceChild(n,h);
220
  }
221
 
222
  var forms = document.querySelectorAll('.mc4wp-form');
223
  for (var i = 0; i < forms.length; i++) {
224
  (function(f) {
225
 
226
+ // make sure honeypot is hidden
227
+ var h = f.querySelector('input[name="_mc4wp_required_but_not_really"]');
228
+ if(h) {
229
+ hideHoneypot(h);
230
+ }
231
 
232
  // add class on submit
233
  var b = f.querySelector('[type="submit"]');
234
  if(b.addEventListener) {
235
+ b.addEventListener('click', addSubmittedClassToFormContainer);
236
  } else {
237
+ b.attachEvent('click', addSubmittedClassToFormContainer);
238
  }
239
 
240
  })(forms[i]);
includes/class-request.php CHANGED
@@ -33,7 +33,7 @@ abstract class MC4WP_Request implements iMC4WP_Request {
33
  /**
34
  * @var bool
35
  */
36
- public $success = true;
37
 
38
 
39
  /**
33
  /**
34
  * @var bool
35
  */
36
+ public $success = false;
37
 
38
 
39
  /**
includes/class-tools.php CHANGED
@@ -130,7 +130,18 @@ class MC4WP_Tools {
130
  * @return string
131
  */
132
  public static function get_client_ip() {
133
- return strip_tags( $_SERVER['REMOTE_ADDR'] );
 
 
 
 
 
 
 
 
 
 
 
134
  }
135
 
136
  /**
130
  * @return string
131
  */
132
  public static function get_client_ip() {
133
+
134
+ $headers = ( function_exists( 'apache_request_headers' ) ) ? apache_request_headers() : $_SERVER;
135
+
136
+ if ( array_key_exists( 'X-Forwarded-For', $headers ) && filter_var( $headers['X-Forwarded-For'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) ) {
137
+ $ip = $headers['X-Forwarded-For'];
138
+ } elseif ( array_key_exists( 'HTTP_X_FORWARDED_FOR', $headers ) && filter_var( $headers['HTTP_X_FORWARDED_FOR'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) ) {
139
+ $ip = $headers['HTTP_X_FORWARDED_FOR'];
140
+ } else {
141
+ $ip = filter_var( $_SERVER['REMOTE_ADDR'], FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 );
142
+ }
143
+
144
+ return $ip;
145
  }
146
 
147
  /**
includes/views/parts/admin-footer.php CHANGED
@@ -14,7 +14,7 @@ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
14
  <p class="help"><?php printf( __( 'Enjoying this plugin? <a href="%s">Upgrade to MailChimp for WordPress Pro</a> for an even better plugin, you will love it.', 'mailchimp-for-wp' ), 'https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=footer-link' ); ?></p>
15
 
16
  <?php if( defined( 'WP_DEBUG' ) && WP_DEBUG ) { ?>
17
- <p class="help">Stay up to date of development of this plugin, <a href="https://github.com/dannyvankooten/mailchimp-for-wordpress">follow the MailChimp for WordPress project on GitHub</a>.</p>
18
  <?php } ?>
19
 
20
  <p class="help"><?php _e( 'This plugin is not developed by or affiliated with MailChimp in any way.', 'mailchimp-for-wp' ); ?></p>
14
  <p class="help"><?php printf( __( 'Enjoying this plugin? <a href="%s">Upgrade to MailChimp for WordPress Pro</a> for an even better plugin, you will love it.', 'mailchimp-for-wp' ), 'https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=footer-link' ); ?></p>
15
 
16
  <?php if( defined( 'WP_DEBUG' ) && WP_DEBUG ) { ?>
17
+ <p class="help">Stay up to date of development of this plugin, <a href="https://github.com/ibericode/mailchimp-for-wordpress">follow the MailChimp for WordPress project on GitHub</a>.</p>
18
  <?php } ?>
19
 
20
  <p class="help"><?php _e( 'This plugin is not developed by or affiliated with MailChimp in any way.', 'mailchimp-for-wp' ); ?></p>
mailchimp-for-wp.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm-medium=mailchimp-for-wp&utm_campaign=plugin-page
5
  Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
6
- Version: 2.3.1
7
- Author: Danny van Kooten
8
- Author URI: https://dannyvankooten.com
9
  Text Domain: mailchimp-for-wp
10
  Domain Path: /languages
11
  License: GPL v3
12
- GitHub Plugin URI: https://github.com/dannyvankooten/mailchimp-for-wordpress
13
 
14
  MailChimp for WordPress
15
  Copyright (C) 2012-2015, Danny van Kooten, hi@dannyvankooten.com
@@ -48,7 +48,7 @@ function mc4wp_load_plugin() {
48
  }
49
 
50
  // bootstrap the lite plugin
51
- define( 'MC4WP_LITE_VERSION', '2.3.1' );
52
  define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
53
  define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
54
  define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm-medium=mailchimp-for-wp&utm_campaign=plugin-page
5
  Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
6
+ Version: 2.3.2
7
+ Author: Ibericode
8
+ Author URI: http://ibericode.com/
9
  Text Domain: mailchimp-for-wp
10
  Domain Path: /languages
11
  License: GPL v3
12
+ GitHub Plugin URI: https://github.com/ibericode/mailchimp-for-wordpress
13
 
14
  MailChimp for WordPress
15
  Copyright (C) 2012-2015, Danny van Kooten, hi@dannyvankooten.com
48
  }
49
 
50
  // bootstrap the lite plugin
51
+ define( 'MC4WP_LITE_VERSION', '2.3.2' );
52
  define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
53
  define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
54
  define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === MailChimp for WordPress ===
2
- Contributors: DvanKooten, iMazed, hchouhan
3
  Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm-medium=mailchimp-for-wp&utm_campaign=donate-link
4
  Tags: mailchimp,newsletter,sign-up,contact form 7,woocommerce,buddypress,widget,form
5
  Requires at least: 3.7
6
- Tested up to: 4.2.1
7
- Stable tag: 2.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -60,13 +60,13 @@ New or improved [translations of the MailChimp for WordPress plugin are welcomed
60
 
61
  **Bug Reports**
62
 
63
- Bug reports for [MailChimp for WordPress are welcomed on GitHub](https://github.com/dannyvankooten/mailchimp-for-wordpress). Please note that GitHub is _not_ a support forum.
64
 
65
  **More information**
66
 
67
  - [MailChimp for WordPress Pro](https://mc4wp.com/), containing [additional features](https://mc4wp.com/features/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link).
68
  - [Translate the MailChimp for WordPress plugin into your language](https://www.transifex.com/projects/p/mailchimp-for-wordpress/)
69
- - Developers; follow or contribute to the [MailChimp for WP plugin on GitHub](https://github.com/dannyvankooten/mailchimp-for-wordpress)
70
  - Other [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link) by [Danny van Kooten](https://dannyvankooten.com#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link)
71
  - [@DannyvanKooten](https://twitter.com/dannyvankooten) on Twitter
72
 
@@ -230,7 +230,7 @@ More detailed documentation can be found on the [MailChimp for WordPress documen
230
 
231
  = Bug Reports =
232
 
233
- Bug reports for [MailChimp for WordPress are welcomed on GitHub](https://github.com/dannyvankooten/mailchimp-for-wordpress). Please note that GitHub is _not_ a support forum.
234
 
235
  = Translations =
236
 
@@ -251,7 +251,7 @@ It's easy to translate the plugin into your own language. Head over to the [tran
251
 
252
  = Development =
253
 
254
- Development of the plugin happens on GitHub: [dannyvankooten/mailchimp-for-wordpress](https://github.com/dannyvankooten/mailchimp-for-wordpress)
255
 
256
  == Screenshots ==
257
 
@@ -266,6 +266,18 @@ Development of the plugin happens on GitHub: [dannyvankooten/mailchimp-for-wordp
266
 
267
  == Changelog ==
268
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  = 2.3.1 - May 6, 2015 =
270
 
271
  **Fixes**
@@ -297,7 +309,7 @@ Development of the plugin happens on GitHub: [dannyvankooten/mailchimp-for-wordp
297
 
298
  **Fixes**
299
 
300
- - Menu item for settings page not appearing on Google App Engine ([#88](https://github.com/dannyvankooten/mailchimp-for-wordpress/issues/88))
301
 
302
  **Improvements**
303
 
@@ -334,8 +346,8 @@ Development of the plugin happens on GitHub: [dannyvankooten/mailchimp-for-wordp
334
 
335
  **Additions**
336
 
337
- - Added [mc4wp_form_success](https://github.com/dannyvankooten/mailchimp-for-wordpress/blob/06f0c833027f347a288d2cb9805e0614767409b6/includes/class-form-request.php#L292-L301) action hook to hook into successful sign-ups
338
- - Added [mc4wp_form_data](https://github.com/dannyvankooten/mailchimp-for-wordpress/blob/06f0c833027f347a288d2cb9805e0614767409b6/includes/class-form-request.php#L138-L142) filter hook to modify all form data before processing
339
 
340
 
341
  = 2.2.6 - February 26, 2015 =
@@ -395,7 +407,7 @@ A huge thank you to [Stefan Oderbolz](http://metaodi.ch/) for various fixed and
395
 
396
  **Additions**
397
 
398
- - Now showing a heads up when at limit of 100 MailChimp lists. ([#71](https://github.com/dannyvankooten/mailchimp-for-wordpress/issues/71))
399
  - Added `wpml-config.xml` file for better WPML compatibility
400
  - Added filter `mc4wp_menu_items` for adding & removing menu items from add-ons
401
 
@@ -816,5 +828,5 @@ Minor improvements and additions for compatibility with the [MailChimp Sync plug
816
 
817
  == Upgrade Notice ==
818
 
819
- = 2.3.1 =
820
- Handle unsubscribe calls from your forms and use dynamic variables everywhere. Updated translations.
1
  === MailChimp for WordPress ===
2
+ Contributors: DvanKooten, ibericode, iMazed, hchouhan
3
  Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm-medium=mailchimp-for-wp&utm_campaign=donate-link
4
  Tags: mailchimp,newsletter,sign-up,contact form 7,woocommerce,buddypress,widget,form
5
  Requires at least: 3.7
6
+ Tested up to: 4.2.2
7
+ Stable tag: 2.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
60
 
61
  **Bug Reports**
62
 
63
+ Bug reports for [MailChimp for WordPress are welcomed on GitHub](https://github.com/ibericode/mailchimp-for-wordpress). Please note that GitHub is _not_ a support forum.
64
 
65
  **More information**
66
 
67
  - [MailChimp for WordPress Pro](https://mc4wp.com/), containing [additional features](https://mc4wp.com/features/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link).
68
  - [Translate the MailChimp for WordPress plugin into your language](https://www.transifex.com/projects/p/mailchimp-for-wordpress/)
69
+ - Developers; follow or contribute to the [MailChimp for WP plugin on GitHub](https://github.com/ibericode/mailchimp-for-wordpress)
70
  - Other [WordPress plugins](https://dannyvankooten.com/wordpress-plugins/#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link) by [Danny van Kooten](https://dannyvankooten.com#utm_source=wp-plugin-repo&utm_medium=mailchimp-for-wp&utm_campaign=more-info-link)
71
  - [@DannyvanKooten](https://twitter.com/dannyvankooten) on Twitter
72
 
230
 
231
  = Bug Reports =
232
 
233
+ Bug reports for [MailChimp for WordPress are welcomed on GitHub](https://github.com/ibericode/mailchimp-for-wordpress). Please note that GitHub is _not_ a support forum.
234
 
235
  = Translations =
236
 
251
 
252
  = Development =
253
 
254
+ Development of the plugin happens on GitHub: [dannyvankooten/mailchimp-for-wordpress](https://github.com/ibericode/mailchimp-for-wordpress)
255
 
256
  == Screenshots ==
257
 
266
 
267
  == Changelog ==
268
 
269
+ = 2.3.2 - May 12, 2015 =
270
+
271
+ **Fixes**
272
+
273
+ - Groupings not being sent to MailChimp
274
+ - Get correct IP address when using proxy like Cloudflare or Sucuri WAF.
275
+ - Issue when using more than one `{data_xx}` replacement
276
+
277
+ **Improvements**
278
+
279
+ - IE8 compatibility for honeypot fallback script.
280
+
281
  = 2.3.1 - May 6, 2015 =
282
 
283
  **Fixes**
309
 
310
  **Fixes**
311
 
312
+ - Menu item for settings page not appearing on Google App Engine ([#88](https://github.com/ibericode/mailchimp-for-wordpress/issues/88))
313
 
314
  **Improvements**
315
 
346
 
347
  **Additions**
348
 
349
+ - Added [mc4wp_form_success](https://github.com/ibericode/mailchimp-for-wordpress/blob/06f0c833027f347a288d2cb9805e0614767409b6/includes/class-form-request.php#L292-L301) action hook to hook into successful sign-ups
350
+ - Added [mc4wp_form_data](https://github.com/ibericode/mailchimp-for-wordpress/blob/06f0c833027f347a288d2cb9805e0614767409b6/includes/class-form-request.php#L138-L142) filter hook to modify all form data before processing
351
 
352
 
353
  = 2.2.6 - February 26, 2015 =
407
 
408
  **Additions**
409
 
410
+ - Now showing a heads up when at limit of 100 MailChimp lists. ([#71](https://github.com/ibericode/mailchimp-for-wordpress/issues/71))
411
  - Added `wpml-config.xml` file for better WPML compatibility
412
  - Added filter `mc4wp_menu_items` for adding & removing menu items from add-ons
413
 
828
 
829
  == Upgrade Notice ==
830
 
831
+ = 2.3.2 =
832
+ Fixes issue with GROUPINGS not being sent to MailChimp.
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInitc67a975ec6c97b622b06201a3818fb23::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInitb7abdf0584408dc02c7e2b85e596a8e8::getLoader();
vendor/composer/ClassLoader.php CHANGED
@@ -351,7 +351,7 @@ class ClassLoader
351
  foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
352
  if (0 === strpos($class, $prefix)) {
353
  foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
354
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
355
  return $file;
356
  }
357
  }
@@ -361,7 +361,7 @@ class ClassLoader
361
 
362
  // PSR-4 fallback dirs
363
  foreach ($this->fallbackDirsPsr4 as $dir) {
364
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
365
  return $file;
366
  }
367
  }
@@ -380,7 +380,7 @@ class ClassLoader
380
  foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
381
  if (0 === strpos($class, $prefix)) {
382
  foreach ($dirs as $dir) {
383
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
384
  return $file;
385
  }
386
  }
@@ -390,7 +390,7 @@ class ClassLoader
390
 
391
  // PSR-0 fallback dirs
392
  foreach ($this->fallbackDirsPsr0 as $dir) {
393
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
394
  return $file;
395
  }
396
  }
351
  foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
352
  if (0 === strpos($class, $prefix)) {
353
  foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
354
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
355
  return $file;
356
  }
357
  }
361
 
362
  // PSR-4 fallback dirs
363
  foreach ($this->fallbackDirsPsr4 as $dir) {
364
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
365
  return $file;
366
  }
367
  }
380
  foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
381
  if (0 === strpos($class, $prefix)) {
382
  foreach ($dirs as $dir) {
383
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
384
  return $file;
385
  }
386
  }
390
 
391
  // PSR-0 fallback dirs
392
  foreach ($this->fallbackDirsPsr0 as $dir) {
393
+ if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
394
  return $file;
395
  }
396
  }
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInitc67a975ec6c97b622b06201a3818fb23 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitc67a975ec6c97b622b06201a3818fb23 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitc67a975ec6c97b622b06201a3818fb23', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitc67a975ec6c97b622b06201a3818fb23', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInitb7abdf0584408dc02c7e2b85e596a8e8 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitb7abdf0584408dc02c7e2b85e596a8e8', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitb7abdf0584408dc02c7e2b85e596a8e8', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);