Permalink
Browse files

failsafe loading for iron_core; version bump;

  • Loading branch information...
1 parent d5ae38b commit bd49e6837cba01bcd5bd232ac373a8e4d7257424 @thousandsofthem thousandsofthem committed Oct 23, 2012
Showing with 5 additions and 3 deletions.
  1. +2 −2 IronWorker.class.php
  2. +3 −1 build.php
  3. BIN iron_worker.phar
View
@@ -6,7 +6,7 @@
* @link https://github.com/iron-io/iron_worker_php
* @link http://www.iron.io/
* @link http://dev.iron.io/
- * @version 1.3.3
+ * @version 1.3.4
* @package IronWorkerPHP
* @copyright Feel free to copy, steal, take credit for, or whatever you feel like doing with this code. ;)
*/
@@ -23,7 +23,7 @@ class IronWorker_Exception extends Exception{
*/
class IronWorker extends IronCore{
- protected $client_version = '1.3.3';
+ protected $client_version = '1.3.4';
protected $client_name = 'iron_worker_php';
protected $product_name = 'iron_worker';
protected $default_values = array(
View
@@ -14,7 +14,9 @@
# Loader
$phar->setStub('<?php
Phar::mapPhar("iron_worker.phar");
-require "phar://iron_worker.phar/IronCore.class.php";
+if (!class_exists("IronCore")){
+ require "phar://iron_worker.phar/IronCore.class.php";
+}
require "phar://iron_worker.phar/IronWorker.class.php";
__HALT_COMPILER(); ?>');
View
Binary file not shown.

0 comments on commit bd49e68

Please sign in to comment.