* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+// Initialize output system
+require(PATH . 'inc/output.php');
+
+// Initialize file i/o system
+require(PATH . 'inc/file_io.php');
+
+// Include the language sub-system
+require(PATH . 'inc/language.php');
+
// Generate call-back function
$callback = sprintf("%s::getInstance",
FrameworkConfiguration::getInstance()->readConfig('app_helper_class')
$app->setAppVersion("0.1a");
$app->setAppShortName(FrameworkConfiguration::getInstance()->readConfig('selector_name'));
-// Initialize output system
-require(PATH . 'inc/output.php');
-
-// Initialize file i/o system
-require(PATH . 'inc/file_io.php');
-
-// Include the language sub-system
-require(PATH . 'inc/language.php');
+// Set instances
+$app->setFileIoInstance($io);
+$app->setLanguageInstance($lang);
// [EOF]
?>