Hello.. i'am a new cakePHP user :) and got confusing in
configuration.
i had to read cakePHP manual before.
my question, how to setting in order to be able i can make many
different app in my document root?
i save all of my web app in D:\tohtdoc s
i try to put cakephplib in D:\htdoc\cakephplib and the app outside
cakephplib. that's just look like this D:\tohtdocs\mycakeapp1, D:
\tohtdocs\mycakeapp2 and more...
i moved out the app directory from cakephplib directory. and rename
app directory to myblog/
and i change the configuration of index.php inside myblog/webroot
directory and look like this :
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
if (!defined('ROOT')) {
define('ROOT', 'D:'.DS.'tohtdocs');
}
if (!defined('APP_DIR')) {
define('APP_DIR', 'D:'.DS.'tohtdocs'.DS.'app');
}
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define ('CAKE_CORE_INCLUDE_PATH',
'D:'.DS.'tohtdocs'.DS.'cakephplib');
}
i try to run this and i got error like this :
Warning: require(cake\bootstrap.php) [function.require]: failed to
open stream: No such file or directory in D:\tohtdocs\app\webroot
\index.php on line 78
Fatal error: require() [function.require]: Failed opening required
'cake\bootstrap.php' (include_path='D:\tohtdocs\Cake_Install\cake;D:
\tohtdocs\D:\tohtdocs\app\;.;\xampp\php\pear\') in D:\tohtdocs\app
\webroot\index.php on line 78
i'am really really confusing configuring cakePHP. I had to repeat
reading the manual, but i got same result..
thx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---