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 .
'my-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
> <http://c3.orexe.com/vendor/cakephp/cakephp/src/Core/functions.php>'
> (include_path='.:/usr/share/php:/usr/share/pear')
> in/home/oereey/c3.orexe.com/vendor/composer/autoload_real.php
> <http://www.google.com/url?q=http%3A%2F%2Fc3.orexe.com%2Fvendor%2Fcomposer%2Fautoload_real.php&sa=D&sntz=1&usg=AFQjCNEU1PprppNwZxQdDRtalefwPieqIQ>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.