I'm helping (trying) to move and old 1.3.x version to a new server in a
development folder but setting up the paths are not working. webroot /
index.php snip below.
It's looking in the main folder (root) for the css, images, js assets.
/**
* The full path to the directory which holds "app", WITHOUT a trailing DS.
*
*/
if (!defined('ROOT')) {
define('ROOT',
DS.'home'.DS.'25696'.DS.'public_html'.DS.'holding');
}
/**
* The actual directory name for the "app".
*
*/
if (!defined('APP_DIR')) {
define ('APP_DIR', 'app');
}
/**
* The absolute path to the "cake" directory, WITHOUT a trailing DS.
*
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH',
DS.'home'.DS.'25696'.DS.'libs'.DS.'1.3.17');
}
Folder structure:
public_html
/app <-current working site
holding / app <- work on the 2.x upgrade is taking place
The site loads so its finding the 'CAKE_CORE_INCLUDE_PATH' just not
correctly processing the root and app_dir.
Any ideas?
Thanks,
Dave
--
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/groups/opt_out.