I was wondering if there was any way to get the paths in the BOINC php code to use absolute paths so it can be easily accessed from other webpages developed for a project that might not reside in the projects directory hierarchy.
It's kind of a mess trying to include anything from there since all the paths are relative and php doesn't know how to find those files. I think it's as simple as adding (there may be a better way to do this): require_once(dirname(__FILE__) . "/<whatever>"); to the require statements. It's in some of them, but it would be great if this was there uniformly over all the php. --Travis --------------------------------------------------------------------------- Travis Desell, Assistant Professor University of North Dakota - Dept. of Computer Science [email protected] - cell: 518-867-1054 Streibel Hall Room 220 - office: 701-777-3477 3950 Campus Road Stop 9015 Grand Forks, North Dakota 52802-9015 Homepage ( http://people.cs.und.edu/~tdesell/ ) MilkyWay@Home ( http://milkyway.cs.rpi.edu/ ) DNA@Home ( http://volunteer.cs.und.edu/dna ) Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ ) ---------------------------------------------------------------------------- _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
