diff --git a/src/index.php b/src/index.php index 5b5c5874..5a4bbaf1 100644 --- a/src/index.php +++ b/src/index.php @@ -14,6 +14,19 @@ require_once __DIR__ . '/config.php'; +/* + *--------------------------------------------------------------- + * COMPOSER AUTOLOAD FILE + *--------------------------------------------------------------- + * + * Include Composer's autoload.php file so that I can use external + * libraries directly in every section of the application. + * + */ + +require_once __DIR__ . '/application/third_party/autoload.php'; + + /* *--------------------------------------------------------------- * APPLICATION ENVIRONMENT @@ -216,4 +229,4 @@ if (defined('ENVIRONMENT')) require_once BASEPATH.'core/CodeIgniter.php'; /* End of file index.php */ -/* Location: ./index.php */ \ No newline at end of file +/* Location: ./index.php */