Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reorganized directory structure in core package

  • Loading branch information...
commit 93660994fb98cd99b3a0f6225aea6e5833e05bc1 1 parent d6bbfd3
@sergiigrebeniuk sergiigrebeniuk authored
View
3  .gitignore
@@ -1,6 +1,7 @@
composer.phar
composer.lock
-packages/.composer
+packages/composer
+packages/autoload.php
public/assets/*
applications/*/logs/*
applications/f*
View
3  .travis.yml
@@ -5,7 +5,8 @@ php:
- 5.4
before_install:
- - git submodule update --init --recursive
+ - curl -s http://getcomposer.org/installer | php
+ - php composer.phar install
script: phpunit --configuration packages/phrame/core/tests/phpunit.xml
2  packages/phrame/core
@@ -1 +1 @@
-Subproject commit fd3037b2b426f9314b0a7be961f756262163d2d3
+Subproject commit be81215cda87abda6abbf254270d671ef10cfb67
View
5 public/index.php
@@ -35,7 +35,10 @@
*/
defined('APPLICATION_ENV') or define('APPLICATION_ENV', getenv('APPLICATION_ENV') ?: 'development');
-// Registering autoloader
+// Turn on composer autoloader
+require PACKAGES_PATH.'/autoload.php';
+
+// Registering own autoloader
spl_autoload_register(
function ($class_name)
{
Please sign in to comment.
Something went wrong with that request. Please try again.