Permalink
Browse files

View files not upload only once

The previous version of class.module.php let you upload view files only once per module so if you want upload the same file with the same name you couldn't.
  • Loading branch information...
vivimpresa committed Jul 5, 2017
1 parent bb2dfc0 commit d6701370ef09dca4ad630283639d5e556209577f
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/classes/class.module.php
@@ -59,7 +59,7 @@ public function view( $view = null, $data = null ) {
$init = 'views:' . $view;
$viewfile = mapi_abs_path( $init, $this->get_wdir() );
if ( is_file( $viewfile ) && is_readable( $viewfile ) ) include( $viewfile );
if ( is_file( $viewfile ) && is_readable( $viewfile ) ) include ( $viewfile );
}
public function get_task() {

0 comments on commit d670137

Please sign in to comment.