Ver código fonte

Deprecated constructor fix

Robert Marshall 8 anos atrás
pai
commit
11451fb927
1 arquivos alterados com 1 adições e 1 exclusões
  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);
         }