Skip to content

Commit dd5a210

Browse files
committed
Added static getvar::dir() method to get the path to the Getvar library
1 parent 3202fc3 commit dd5a210

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

getvar.inc.php

+10
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,16 @@ public function offsetUnset($key) {
823823

824824

825825

826+
////////////////////////////////////////////////////////////////////////////
827+
// GET THE LOCAL PATH OF THE GETVAR LIBRARY
828+
////////////////////////////////////////////////////////////////////////////
829+
public static function dir() {
830+
return __DIR__;
831+
}
832+
833+
834+
835+
826836
////////////////////////////////////////////////////////////////////////////
827837
// MEMBER VARIABLES
828838
////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)