Explorar o código

Fixed autoload helper file

sanjoydesk %!s(int64=9) %!d(string=hai) anos
pai
achega
29accc6320

+ 1 - 1
frameworks/PHP/cygnite-php-framework/boot/initialize.php

@@ -32,7 +32,7 @@ if (php_sapi_name() === 'cli-server' && is_file($filename)) {
 */
 $app = \Cygnite\Foundation\Application::instance();
 
-$app->importHelpers();
+//$app->importHelpers();
 /*
 |--------------------------------------------------------------------------
 | Attach Exception handler to Event Listener

+ 3 - 2
frameworks/PHP/cygnite-php-framework/composer.json

@@ -11,7 +11,7 @@
         }
     ],
     "require": {
-        "cygnite/framework": "v1.3.0"
+        "cygnite/framework": "v1.3.1"
     },
     "autoload": {
         "classmap": [
@@ -19,7 +19,8 @@
             "apps/models",
             "apps/components" ,
             "apps/extensions"
-        ]
+        ],
+		"files": ["vendor/cygnite/framework/src/Cygnite/Helpers/Support.php"]
     },
     "config": {
         "preferred-install": "dist"