Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/09/2011, 12:39
JorgeAnzola25
 
Fecha de Ingreso: agosto-2011
Ubicación: Barquisimeto
Mensajes: 25
Antigüedad: 12 años, 8 meses
Puntos: 0
Respuesta: Error al intentar abrir la página

Ya lo comprimí en un archivo .zip para que puedas descargarlo, espero puedas ayudarme, igual lo escribo aquí.

Código PHP:
     * @since   11.1
     
*/
    public static function 
discover($classPrefix$parentPath$force true)
    {
        
// Ignore the operation if the folder doesn't exist.
        
if (is_dir($parentPath)) {

            
// Open the folder.
            
$d dir($parentPath);

            
// Iterate through the folder contents to search for input classes.
            
while (false !== ($entry $d->read()))
            {
                
// Only load for php files.
                
if (file_exists($parentPath.'/'.$entry) && (substr($entrystrrpos($entry'.') + 1) == 'php')) {

                    
// Get the class name and full path for each file.
                    
$class strtolower($classPrefix.preg_replace('#\.[^.]*$#'''$entry));
                    
$path  $parentPath.'/'.$entry;

                    
// Register the class with the autoloader if not already registered or the force flag is set.
                    
if (empty(self::$_classes[$class]) || $force) {
                        
JLoader::register($class$path);
                    }