Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/vrmedia2/public_html/forums/Sources/Load.php(225) : runtime-created function on line 3
Search Path
Welcome, Guest. Please login or register.
June 28, 2017, 07:09:45 AM

Login with username, password and session length
Search:     Advanced search
SMF - Just Installed
1444 Posts in 465 Topics by 370 Members
Latest Member: landiandrea
* Home Help Search Login Register
|-+  General Category
| |-+  Feature Request
| | |-+  Search Path
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Search Path  (Read 4467 times)
Offline Offline

Posts: 1

« on: January 27, 2011, 06:08:55 AM »

It would be very nice if one could set a proper search PATH variable, i.e. with multiple paths, instead of just a single local directory. This is standard in every system I've ever used and typically a functionality provided by the OS calls (at least for looking for dlls). This is important when loading (multiple) external libraries, so that they can live in centralized places. 

Having a seperate library path and model search path would also be beneficial.

Global Moderator
Hero Member
Offline Offline

Posts: 135

« Reply #1 on: March 01, 2011, 03:18:32 AM »

You can use SetLocalDir("local_path") for this purpose, although it is limited to subfolders of your project directory.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!