]> git.mxchange.org Git - mailer.git/blobdiff - inc/includes.php
0.3.0 inital import
[mailer.git] / inc / includes.php
diff --git a/inc/includes.php b/inc/includes.php
new file mode 100644 (file)
index 0000000..845b8bf
--- /dev/null
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Include the class loader function
+ */
+require(sprintf("%sinc/loader/class_ClassLoader%s", PATH, FrameworkConfiguration::getInstance()->readConfig("php_extension")));
+
+/**
+ * Is the devel package included?
+ */
+if (is_dir(sprintf("%sdevel", PATH))) {
+       /**
+        * Load all development includes
+        */
+       ClassLoader::getInstance()->loadClasses("devel");
+}
+
+/**
+ * Load additional include files before main load
+ */
+FrameworkConfiguration::getInstance()->loadPreIncludes();
+
+/**
+ * Load all main include files
+ *
+ * +++ MAIN LOADER! +++
+ *
+ */
+
+///////////////////////////////////////////////////
+// Maybe we need this place for future releases? //
+///////////////////////////////////////////////////
+
+/**
+ * Load additional include files after main load
+ */
+FrameworkConfiguration::getInstance()->loadPostIncludes();
+
+// [EOF]
+?>