From: R. S. B. <Ba...@Ba...> - 2003-02-26 22:53:16
|
I did notice the trailing slash.. but I think some users would not edit the filed correctly, +1 on Checking for a trailing slash I would also like to see it check for http:// at the beginning.. and chop it if present. Scott > If you notice the default entry does have a trailing slash. But yes phpws > should probably check for this and maybe just add the slash on if it's > needed before writing the config file. > > Don. > > On Wed, 26 Feb 2003, R. Scott Baer wrote: > > > After click on "Create Config File" button, I get the following error: > > > > Fatal error: Failed opening required 'HTML/Template/IT.php' > > (include_path='.:/usr/share/pear') in /var/www/html/core/Core.php on line > > 31 > > > > If I modify the Core.php file > > /* This line is for *nix/linux environments */ > > //ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); > > > > to: > > > > /* This line is for *nix/linux environments */ > > ini_set("include_path", ".:".PHPWS_SOURCE_DIR."lib/pear/"); > > > > It seems to work fine... > > I can install fine. > > > > Also to note from a my privious e-mail/forum entry: > > > > If when you first go to the ~/setup/ > > > > and you enter the info for your config.php file, the entry for: "Web > > Address" > > > > if you enter: http://bla.bla > > your links will be http://http://bla.blaindex.php > > > > if you enter: bla.bla > > your links will be http://bla.blaindex.php > > > > The only correct entery would be: bla.bla/ > > > > Is their a way to check for the trailing "/" > > > > Scott > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Scholarships for Techies! > > Can't afford IT training? All 2003 ictp students receive scholarships. > > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > > www.ictp.com/training/sourceforge.asp > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |