[eluser]developer10[/eluser]
[quote author="xadio" date="1283671900"]I would recommend copying your application directories and placing each one in the subdomain root. Then copy the index.php and modify each one. Since the index is now in the root of your application you will need to specify the system as '../system'. The application will be the current directory (or './application' depending on where you put the application).
I hope this makes sense if not check out this tree I've defined:
Code:
/
/system <-- CI System
/application <-- Main CI Application
/subdomain1 <-- Subdomain 1
/application <-- S1 CI Application
/index.php <-- S1 CI Index.php
/subdomain2 <-- Subdomain 2
/application <-- S2 CI Application
/index.php <-- S2 CI Index.php
... etc
[/quote]
EDIT: Neglect text below. I changed some code before and wasnt aware of it. Now everything seems to be OK and working.
Thanks!
Done that.
Now my Error Log shows this
Code:
[05-Sep-2010 12:08:13] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/kupiconfig/constants.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/povoljno/public_html/system/codeigniter/CodeIgniter.php on line 52
"kupi" is the name of subdirectory
In the index.php located in the sub, system is set as
Code:
$system_folder = "../system"
and application is set as
Code:
$application_folder = "./application";