aboutsummaryrefslogtreecommitdiff
path: root/cli/studip_cli_env.inc.php
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2021-12-17 16:20:12 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2021-12-17 16:20:12 +0000
commitb0a1a7adf5203efa32661b96ecb023fef74c5d2d (patch)
treec4641b27164f1e8d4feb2274164bed26578721af /cli/studip_cli_env.inc.php
parentcb0a67594116a17c78182637908c4723f37e7263 (diff)
CLI-Skript `studip` einführen und alte Skripte entsprechend umstellen
Diffstat (limited to 'cli/studip_cli_env.inc.php')
-rw-r--r--cli/studip_cli_env.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/studip_cli_env.inc.php b/cli/studip_cli_env.inc.php
index a0e33cd..a5ef8f4 100644
--- a/cli/studip_cli_env.inc.php
+++ b/cli/studip_cli_env.inc.php
@@ -48,7 +48,7 @@ function parse_msg_to_clean_text($long_msg,$separator="§") {
return join("\n", $ret);
}
-$STUDIP_BASE_PATH = realpath( dirname(__FILE__) . '/..');
+$STUDIP_BASE_PATH = realpath( __DIR__ . '/..');
$include_path = get_include_path();
$include_path .= PATH_SEPARATOR . $STUDIP_BASE_PATH . DIRECTORY_SEPARATOR . 'public';
set_include_path($include_path);