Anonymous avatar Anonymous committed 734324c

Update to version 5.3.3

Comments (0)

Files changed (8)

third_party/MX/Base.php

  *
  * Install this file as application/third_party/MX/Base.php
  *
- * @copyright	Copyright (c) Wiredesignz 2010-09-03
- * @version 	5.3.2
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

third_party/MX/Ci.php

+<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
+
+/* load MX core classes */
+require_once 'Lang.php';
+require_once 'Config.php';
+
+/**
+ * Modular Extensions - HMVC
+ *
+ * Adapted from the CodeIgniter Core Classes
+ * @link	http://codeigniter.com
+ *
+ * Description:
+ * This library creates a CI class which allows of modules in an application.
+ *
+ * Install this file as application/third_party/MX/CI.php
+ *
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
+ * 
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ * 
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
+class CI
+{
+	public static $APP;
+	
+	public function __construct() {
+		self::$APP = CI_Base::get_instance();
+		
+		/* assign the core loader */
+		self::$APP->load = new MX_Loader;
+		
+		/* re-assign language and config for modules */
+		if ( ! is_a(self::$APP->lang, 'MX_Lang')) self::$APP->lang = new MX_Lang;
+		if ( ! is_a(self::$APP->config, 'MX_Config')) self::$APP->config = new MX_Config;
+	}
+}
+
+new CI;

third_party/MX/Config.php

  *
  * Install this file as application/third_party/MX/Config.php
  *
- * @copyright	Copyright (c) Wiredesignz 2010-09-03
- * @version 	5.3.2
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

third_party/MX/Controller.php

  *
  * Install this file as application/third_party/MX/Controller.php
  *
- * @copyright	Copyright (c) Wiredesignz 2010-09-03
- * @version 	5.3.2
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

third_party/MX/Lang.php

  *
  * Install this file as application/third_party/MX/Lang.php
  *
- * @copyright	Copyright (c) Wiredesignz 2010-09-03
- * @version 	5.3.2
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

third_party/MX/Loader.php

 <?php (defined('BASEPATH')) OR exit('No direct script access allowed');
 
-(class_exists('CI', FALSE)) OR require 'CI.php';
+(class_exists('CI', FALSE)) OR require 'Ci.php';
 
 /**
  * Modular Extensions - HMVC
  *
  * Install this file as application/third_party/MX/Loader.php
  *
- * @copyright	Copyright (c) Wiredesignz 2010-09-03
- * @version 	5.3.2
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

third_party/MX/Modules.php

  *
  * Install this file as application/third_party/MX/Modules.php
  *
- * @copyright	Copyright (c) Wiredesignz 2010-09-03
- * @version 	5.3.2
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal

third_party/MX/Router.php

  *
  * Install this file as application/third_party/MX/Router.php
  *
- * @copyright	Copyright (c) Wiredesignz 2010-09-03
- * @version 	5.3.2
+ * @copyright	Copyright (c) Wiredesignz 2010-09-06
+ * @version 	5.3.3
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.