/** * Set POT directory. * * <p> * Use this method if you keep your POT package in different directory then this file. Don't need to care about trailing directory separator - it will append it if needed. * </p> * * <p> * Note: Since 0.2.0+SVN this method is static. * </p> * * @version 0.2.0+SVN * @param string $path POT files path. * @example examples/fakeroot.php fakeroot.php * @tutorial POT/Basics.pkg#basics.fakeroot */ public static function setPOTPath($path) { self::$path = str_replace('\\', '/', $path); // appends ending slash to directory path if (substr(self::$path, -1) != '/') { self::$path .= '/'; } }