[guadec-web] Fix relative include



commit eb3870118048d6fd6440f7a386f50eaf65843d37
Author: Pascal Terjan <pterjan gmail com>
Date:   Mon Jul 14 17:32:54 2014 +0000

    Fix relative include

 guadec/js/calculate.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/guadec/js/calculate.php b/guadec/js/calculate.php
index 2ec9907..b55dda2 100644
--- a/guadec/js/calculate.php
+++ b/guadec/js/calculate.php
@@ -1,6 +1,6 @@
 
 <?php
-    include("../pricing.php");
+    include(__DIR__ . "/../pricing.php");
 
     $aResult = "";
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]