public attr / function, constructeurs __construct
[mtweb] / mw / env / modules / mw_env_app_files.php
index bb5816c..a3972db 100644 (file)
@@ -2,17 +2,17 @@
 
   class mw_env_app_files extends mw_env{
 
-    function app_file_exists($file, $PRIORITE = "ASC"){
+    public function app_file_exists($file, $PRIORITE = "ASC"){
       $app_file = $this->_app_file($file, $PRIORITE);
       return $app_file ? true : false;
     }
 
-    function app_file($file, $PRIORITE = "ASC"){
+    public function app_file($file, $PRIORITE = "ASC"){
       $app_file = $this->_app_file($file, $PRIORITE);
       return $app_file ? $app_file : $file;
     }
 
-    function _app_file($file, $PRIORITE = "ASC"){
+    public function _app_file($file, $PRIORITE = "ASC"){
       $app_file = false;
       if($PRIORITE == "ASC" && file_exists($this->path("mw_dir")."app/".$file)) return $this->path("mw_dir")."app/".$file;
       if(($plugins = $this->plugins($PRIORITE)) !== false){
@@ -35,5 +35,3 @@
     }
 
   }
-
-?>
\ No newline at end of file