rabin 1 year ago
parent
commit
41f4484c1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Dever/Library.php

+ 1 - 1
src/Dever/Library.php

@@ -18,7 +18,7 @@ class Library
     {
         $project = Project::load($app);
         if ($project) {
-            require $project['path'] . $file . '.php';
+            require_once $project['path'] . $file . '.php';
         }
     }
     public static function apply($file, $app, $path)