Topic: setting the includes path
|

|
| Author |
|
Lewis Harvey Newbie

Joined: 21 November 2011 Location: United Kingdom
Online Status: Offline Posts: 2
|
| Posted: 22 November 2011 at 2:30am | IP Logged
|
|
|
I wondered how I can set my path for includes files with helicon ape .htaccess so they can be read from any directory level. If someone could start me off I'd be really grateful.
With WAMP and Windows 7 the following works fine in an .htaccess file at root level:
php_value include_path ".;includes;/includes;../includes;../../includes;../../../includes;../../../../includes"
and using, for example,
<?php includes 'header.php' ?>
from any php file down to the fourth directory level (which is sufficient) works. However' I'd also like to make it scaleale and so use regular expressions. I'm on quite a steep learning curce at the minute, so please bear with me. I am able to follow the regular expressions (just about, unless they are really complicated), but at this stage am not sure how to apply them.
I understand that helicon ape is a great product and I'm keen to get to grips with with each new site I develop.
This is my first post and I would respectfully asked that I am treated gently. In advance, many thanks. 
Lewis Harvey
Edited by Lewis Harvey - 22 November 2011 at 2:52am
|
| Back to Top |
|
| |
Guests Guest

Joined: 01 October 2003
Online Status: Online Posts: -149
|
| Posted: 23 November 2011 at 5:43am | IP Logged
|
|
|
Hello Lewis,
I assume you want smth like php_value directive. But Ape doesn't have that directive, unfortunately.
We'd be happy to help you out, but not this time.
Regards
Andrew
|
| Back to Top |
|
| |
Lewis Harvey Newbie

Joined: 21 November 2011 Location: United Kingdom
Online Status: Offline Posts: 2
|
| Posted: 23 November 2011 at 8:54am | IP Logged
|
|
|
Okay. Please feel free to delete this posting as it now serves no real purpose and will only clutter the forum.
Regards, Lewis
|
| Back to Top |
|
| |
|
|
If you wish to post a reply to this topic you must first login
If you are not already registered you must first register
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You can vote in polls in this forum
|