I want to move the kernel to the root directory of the server to the kernel 
was common to all applications on the server. Then it will be more 
convenient to update to the new version.
For my old applications written in cakePHP v1.3.x I use a common core 
library folder (CAKE). To do this, I'm just in the file webroot/index.php 
changed the path.
When I started using v3.x and changed the path webroot/index.php:
 
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', dirname(dirname(dirname(__FILE__))) . DS . 
'cake_3_Lib' );
}


it did not help. I received an error:
 

> *Fatal error: require(): Failed opening required 
> '/home/oereey/c3.orexe.com/vendor/cakephp/cakephp/src/Core/functions.php' 
> (include_path='.:/usr/share/php:/usr/share/pear') 
> in/home/oereey/c3.orexe.ru/vendor/composer/autoload_real.php on line 54*

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to