I have created a view main.php and I have loaded the view internal.php inside main.php
Now, using the following code inside internal.php:
pathinfo(__FILE__, PATHINFO_FILENAME), '.php'
or the code:
echo $_ci_view;
i am getting internal.php while I want main.php as it is the main view being loaded in browser window. How can I do this?