Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, March 28, 2024

Diff for phpMyEdit/phpMyEdit.class.php between version 1.83 and 1.84

version 1.83, 2003/06/21 11:44:42 version 1.84, 2003/07/09 19:38:31
Line 19 
Line 19 
  * http://www.platon.sk/projects/phpMyEdit/   * http://www.platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.82 2003/05/31 21:14:14 nepto Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.83 2003/06/21 11:44:42 nepto Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Line 82  if (! function_exists('array_search')) {
Line 82  if (! function_exists('array_search')) {
         }          }
 } /* }}} */  } /* }}} */
   
   if (! function_exists('realpath')) { /* {{{ */
           function realpath($path)
           {
                   return $path;
           }
   } /* }}} */
   
 class phpMyEdit  class phpMyEdit
 {  {
         // Class variables {{{          // Class variables {{{
Line 2603  function phpMyEdit_form_control(theForm)
Line 2610  function phpMyEdit_form_control(theForm)
                 set_magic_quotes_runtime(0);                  set_magic_quotes_runtime(0);
                 // Checking if language file inclusion was successful                  // Checking if language file inclusion was successful
                 if (! is_array($this->labels)) {                  if (! is_array($this->labels)) {
                         $this->error('could not locate language files');                          $this->error('could not locate language files', 'searched path: '.$this->dir['lang']);
                         return false;                          return false;
                 }                  }
                 // Database connection                  // Database connection
Line 2700  function phpMyEdit_form_control(theForm)
Line 2707  function phpMyEdit_form_control(theForm)
                         $this->timer = new phpMyEdit_timer();                          $this->timer = new phpMyEdit_timer();
                 }                  }
                 // Creating directory variables                  // Creating directory variables
                 $this->dir['root'] = dirname(__FILE__)                  $this->dir['root'] = dirname(realpath(__FILE__))
                         . (strlen(dirname(__FILE__)) > 0 ? '/' : '');                          . (strlen(dirname(realpath(__FILE__))) > 0 ? '/' : '');
                 $this->dir['lang'] = $this->dir['root'].'lang/';                  $this->dir['lang'] = $this->dir['root'].'lang/';
                 // Creating URL variables                  // Creating URL variables
                 $this->url['images'] = 'images/';                  $this->url['images'] = 'images/';

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84

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