fix
This commit is contained in:
parent
81c822e225
commit
1137ff3cee
2 changed files with 3 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
|||
// Declare Namespace
|
||||
namespace Sakura;
|
||||
|
||||
// Define Sakura Path
|
||||
define('ROOT_DIRECTORY', str_replace('main', '', dirname(__FILE__)));
|
||||
// Include components
|
||||
require_once '/var/www/flashii.net/_sakura/sakura.php';
|
||||
|
||||
// Set Content type
|
||||
header('Content-Type: application/octet-stream');
|
||||
|
|
|
@ -6,11 +6,8 @@
|
|||
// Declare Namespace
|
||||
namespace Sakura;
|
||||
|
||||
// Define Sakura Path
|
||||
define('ROOT_DIRECTORY', str_replace('main', '', dirname(__FILE__)));
|
||||
|
||||
// Include components
|
||||
require_once ROOT_DIRECTORY .'_sakura/sakura.php';
|
||||
require_once '/var/www/flashii.net/_sakura/sakura.php';
|
||||
|
||||
// Add page specific things
|
||||
$renderData['page'] = [
|
||||
|
|
Reference in a new issue