Commit 36b77fd8 authored by michael lundquist's avatar michael lundquist
Browse files

Copy and pasted paths from live server

parent c299efdd
<?php <?php
//configure the database name? //configure the database name?
echo dirname(__FILE__); if(is_dir("/home/sellmysh/public_html/mikeroservices.com/zipAPI"){
if(is_dir(dirname(__FILE__)."/../../public_html")){
//API //API
define("PHP_ROOT", $_SERVER["DOCUMENT_ROOT"]); define("PHP_ROOT", $_SERVER["DOCUMENT_ROOT"]);
define("HTML_ROOT", ""); define("HTML_ROOT", "");
...@@ -10,7 +9,7 @@ if(is_dir(dirname(__FILE__)."/../../public_html")){ ...@@ -10,7 +9,7 @@ if(is_dir(dirname(__FILE__)."/../../public_html")){
//localhost //localhost
define("PHP_ROOT", $_SERVER["DOCUMENT_ROOT"]."/zipAPI"); define("PHP_ROOT", $_SERVER["DOCUMENT_ROOT"]."/zipAPI");
define("HTML_ROOT", "/zipAPI"); define("HTML_ROOT", "/zipAPI");
define("URL", "http://127.0.0.1/nuts/nutrition/"); define("URL", "http://127.0.0.1/mikeroservices.com/zipAPI");
}else{ }else{
exit("configME 2 failure in configNuts.php"); exit("configME 2 failure in configNuts.php");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment