Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for phpPlatonLib/common/misc/Attic/fnc.chdir_back.php between version 1.1 and 1.2

version 1.1, 2002/04/19 23:58:05 version 1.2, 2002/04/21 23:21:19
Line 1 
Line 1 
 <?php  <?php
   
 require_once dirname(__FILE__) . '/fnc.dir_back.php';  /*
    * phpPlatonLib - Platon software development group PHP library
    *
    * common/misc/fnc.chdir_back.php - change directory back of $dir
    * ____________________________________________________________
    *
    * Developed by Ondrej Jombik <nepto@pobox.sk>
    * Copyright (c) 2001-2002 Platon SDG, http://www.platon.sk/
    * All rights reserved.
    *
    * See README file for more information about this software.
    * See COPYING file for license information.
    *
    * Download the latest version from
    * http://www.platon.sk/projects/phpPlatonLib/
    */
   
 function chdir_back($dir)  /* $Id$ */
 {  
         $dir_back = dir_back($dir);  
   
         if (strlen($dir_back) > 0)  if (! defined('phpPlatonLib_fnc_chdir_back')) {
                 return chdir($dir_back);          define('phpPlatonLib_fnc_chdir_back', 1);
   
           require_once dirname(__FILE__) . '/fnc.dir_back.php';
   
           function chdir_back($dir)
           {
                   $dir_back = dir_back($dir);
   
                   if (strlen($dir_back) > 0)
                           return chdir($dir_back);
   
                   return false;
           }
   
         return false;  
 }  }
   
 ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top