auzas Posted March 21, 2008 Report Share Posted March 21, 2008 Sveiki! Es te mēģinu futbola menidžeri uz localhost uzlikt ,bet ir viena ķibele nesaprotu kur jaaliek tas fails (offlconfig.php) The offlconfig.php file must be moved to a directory within your PHP include path. Additionally, the file must be modified so that $WEB_ROOT is set to the absolute path of OFFL and $DOC_ROOT is set to the root directory from which your webserver serves documents. This is not automated as the environment variables behave erratically when PHP is called from the command line. It (the file) does not need to be in your web server's document root, although it is protected from direct access. What's my include path? Create a file consisting of "<?php phpinfo(); ?>" and view it. Search for "include_path" and you'll see two columns of comma-separated directories. Any listed directory (to which you have access) is acceptable. If none apply, leave offlconfig.php where it is now. You'll need to make a copy later. Link to comment Share on other sites More sharing options...
Recommended Posts