include requirements page as "required" in page

#1


<?php

require "/var/private_www/yii-1.1.10.r3566/requirements/index.php";


print $_SERVER["SCRIPT_FILENAME"];

I made page as page about.php and included there files with required information.

But This file show information without color highlighting!

It is because scripts inside requirements/index.php do not know that they are called now from

localhost/blog/index.php?r=site/page&view=requirements

I have to change directory by php chdir("/var/private_www/yii-1.1.10.r3566/requirements/")? Right?

(server root is /var/www/ of course)