src/Config/ConfigInfo.php
function getScriptFolder() {
        $path = self::getScriptPathFull();
        if ( $path === false ) return false;
        // Don't use DIRECTORY_SEPARATOR, PHP makes these forward slashes on Windows
        $pieces = explode('/', $path);
        if ( count($pieces) < 1 ) return false;
        return $pieces[count($pieces)-1];
    }
function getScriptFolder() {
        $path = self::getScriptPathFull();
        if ( $path === false ) return false;
        // Don't use DIRECTORY_SEPARATOR, PHP makes these forward slashes on Windows
        $pieces = explode('/', $path);
        if ( count($pieces) < 1 ) return false;
        return $pieces[count($pieces)-1];
    }
function getScriptFolder ( ) { $ path = self :: getScriptPathFull ( ) ; if ( $ path === false ) return false ; // Don't use DIRECTORY_SEPARATOR, PHP makes these forward slashes on Windows $ pieces = explode ( '/' , $ path ) ; if ( count ( $ pieces ) < 1 ) return false ; return $ pieces [ count ( $ pieces ) - 1 ] ; }
This function will return "attend"
This function will return attend