If not specifies, the value of the mcrypt.modes_dir php.ini directive is used.
mcrypt_list_modes() takes as optional parameter a directory which specifies the directory where all modes are located. If not specifies, the value of the mcrypt.modes_dir php.ini directive is used.