* @todo Get rid of inConstructor, could be old-lost code.
*/
public static final function createFrameworkDirectoryPointer ($pathName, $inConstructor = FALSE) {
- // Secure with realpath()
- $pathName = realpath($pathName);
-
// Some pre-sanity checks...
if (is_null($pathName)) {
// No pathname given
* @return void
*/
public static final function createFrameworkFileInputPointer ($fileName) {
- // Secure with realpath()
- $fileName = realpath($fileName);
-
// Some pre-sanity checks...
if ((is_null($fileName)) || (empty($fileName))) {
// No filename given
* @throws FileIoException If fopen() returns not a file resource
*/
public static final function createFrameworkFileInputOutputPointer ($fileName) {
- // Secure with realpath()
- $fileName = realpath($fileName);
-
// Some pre-sanity checks...
if ((is_null($fileName)) || (empty($fileName))) {
// No filename given
* @return void
*/
public static final function createFrameworkFileOutputPointer ($fileName, $mode) {
- // Secure with realpath()
- $fileName = realpath($fileName);
-
// Some pre-sanity checks...
if (is_null($fileName)) {
// No filename given