Explorar el Código

Deprecated constructor fix

Robert Marshall hace 8 años
padre
commit
11451fb927
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/geshi/geshi.php

+ 1 - 1
lib/geshi/geshi.php

@@ -594,7 +594,7 @@ class GeSHi {
      *               {@link GeSHi->set_language_path()}
      * @since 1.0.0
      */
-    function GeSHi($source = '', $language = '', $path = '') {
+    function __construct($source = '', $language = '', $path = '') {
         if (!empty($source)) {
             $this->set_source($source);
         }