Browse
For agents
About
Qi Blocks
/
trunk
Qi Blocks
vtrunk
Switch version
1.5.3
1.5.2
1.5.1
trunk
1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1
1.1.1
1.1.2
1.2
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
All 45 releases
Overview
Code
← All changes
|
inc/admin/include.php
+5
-0
1.1
→
trunk
View file →
@@ -1,5 +1,10 @@
1
1
<?php
2
2
3
+
if ( ! defined( 'ABSPATH' ) ) {
4
+
// Exit if accessed directly.
5
+
exit;
6
+
}
7
+
3
8
foreach ( glob( QI_BLOCKS_ADMIN_PATH . '/*/include.php' ) as $module ) {
4
9
require_once $module;
5
10
}